Ary Borenszweig

Results 414 comments of Ary Borenszweig

> However, it's just passed a lot of stuff that shouldn't have meaning at top-level But defining methods at the top-level is fine. The above snippet is perfectly valid. That's...

I guess, if a macro consist exactly of a series of MacroLiterals but without any expressions in them, we could turn that into a String, parse it, then format it.

It's just a bug in the compiler. Some code was added to correctly parse `"...%s..."` inside string literals and that broke this.

Fork in interpreted mode is broken and I don't understand why yet. I debugged this a lot in the past. This will likely not be fixed any time soon.

It's because there's something wrong in the way `fork` is executed in the interpreter. And it's really hard to debug. To begin with, we should start finding out why this...

Cool! What happens if you run this code with the interpreter? ```crystal loop do puts `ls` end ```

Thanks for the investigation! I don't think I'll have time to look at this. But the gist is: if it works with the GC disabled, then it definitely **doesn't work**....

@owen2345 Could you explain how this will work when a variable is, for example, a file that points to an open file descriptor? The file descriptor will be gone. You...

Also not every type is JSON serializable. Finally, I saw you posted a request on the forums to get the local vars. You don't need that in the compiler. You...