While everything that Hlaaftana said is true, there is no reason that
proc makeContainer(x: int): Container =
let f = newFoo(x)
if f == nil:
raise new CatchableError
return Container(foo: f)
Runhas to work. It's unstructured control flow and our competitors don't support it either.
