hmdne

Results 111 comments of hmdne

Won't be finalized for v1.5. Pushing it to v1.6.

I experimented a bit with RBS recently. It mostly even works with Opal, except that it thinks that %x{}strings are Strings. Now that's just an idea, but maybe we can...

Anyway, as of now we use YARDoc for type annotations. Using RBS as well seems kind of duplicating the effort, but RBS can be generated automatically and is pretty much...

The answer is simple. If we care about IE8, then `eval` is our only option. But we don't AFAIK, so there's another solution. @elia you mentioned in the past that...

We already do it here: https://github.com/opal/opal/blob/master/stdlib/js.rb#L25-L39

I have an idea on how to implement this as I'm starting to understand how break actually works.

What's interesting is that for lambda all 3 give the same result: ```ruby [1] pry(main)> -> { break 4; 5 }.() => 4 [2] pry(main)> -> { next 4; 5...

The issue is that the Nodejs runner sets NODE_PATH: https://github.com/opal/opal/blob/master/lib/opal/cli_runners/nodejs.rb#L13