Sean T Allen
Sean T Allen
The issue here is that as far as the compiler is concerned, `_x` is in fact, not always initialized. We can see this in the AST: ``` (while:scope (seq true)...
The resolution here if anyone want to take it on is a better error message that explains why "_x" is undefined.
Additional context: https://ponylang.zulipchat.com/#narrow/stream/190365-runtime/topic/Unsafe.20deserialise.20exploitation
We don't have any good way to deal with errors of this sort in the serialization of this sort. Some investigation of what we should do when we get unexpected...
I don't think the problem is in gen_return. "fixing" the issue there results in other issues. Looking at `iftype`, it doesn't do the branches as branches, based on "is subtype"...
So @Liasain, that would be the equivalent to what it transforms to if it transformed to source, but it doesn't so it ends up with bad LLVM ir. You can...
We did an excellent discussion of this during sync and came up with some ideas, I will discuss them with Joe and we can discuss again at another sync to...
@jemc and I discussed this today and we have a solution that I will probably implement. Basically, gen_iftype doesn't create a scope for iftype'd code (but earlier steps act as...
I've assigned myself to this, but anyone who wants this is welcome to take it.
At minimum, we want to display an error message, not have the compiler segfault. Running this with a debug version of the compiler to get a backtrace would be a...