Simon Krajewski

Results 881 comments of Simon Krajewski

Hmm yeah, this is because the function returns something while Runnable expects a Void return. I'm not entirely sure if that _should_ work, but it's a bit unfortunate because Haxe...

I think this should fail properly during typing because it's simply not natively supported.

Thanks! I know how to reproduce the issue, I just don't know what to do about it other than making it fail during typing.

Actually I don't even really know how to do that because all the compiler sees is a `-> Something` to `-> Void` assignment and it usually allows that. We would...

That example works on both development and with #11544. It hangs at run-time, which I'm not sure is expected.

Right, I see. Could you turn this into something that doesn't hang so that I can add it as a test (ideally without any sleeping)? I'd like to make sure...

Thanks! Added to #11544, without the cast because that seems to just work now. If you have any other cases that should be added as a test please let me...

Thanks for testing! I'm not aware of any deliberate changes to operator overloading, but there's always a chance that some bugfix affected this. If you can isolate something, please open...

What's the `-D dump` of `Main` here?

I guess the compiler follows the underlying type of the abstract and concludes that it's `Float` via that `@:to` function. And then we end up assigning a `null` value to...