Thanks for the reply.
So to use regions, do you have to declare regions manually or does the compiler take care of it automatically when compiled with --gc:regions? I ask this because even using stdlib, when compiled with --gc:regions the compiler doesn't throw any errors and everything works as expected. But I'm not sure if memory is freed properly.