Bob Nystrom
Bob Nystrom
What output do you get if you just run that test directly? Something like: ``` $ build\Debug\magpie.exe test\event\exit_while_fiber_sleeping.mag ``` (This makes me realize we could use a nice batch file...
There are a couple of ways you can handle this, I think: 1. Have multiple canvas elements on top of each other with the top ones semi-transparent. 2. Have malison...
I'm 100% OK with that if the rest of the language team is.
I agree with Erik. In principle, yes, I'd like to support them. I'd like to support as much in constants as we reasonably can. In practice, if we find ourselves...
The point about having to carefully restrict which kinds of patterns are allowed is a good one. > Because of this, I'd want to postpone constant switches. SGTM. I'll move...
I like this idea, though I don't know if it's important enough to slot into the initial release. I would make it consistent with normal `await`: an `await` pattern matches...
> f I do `switch (someObject as Object?) { case await int x: .. }`, what would happen if the value is: > > * an integer? Perform an await...
In general, pattern matching can have user visible side effects, since many kinds of patterns end up invoking methods that could be user-defined. And, yes, if we want to allow...
I'm interested in this but given how big the pattern matching feature is already, I'm going to move it to "patterns-later".
Yes, I think structs should be immutable. If you want a "mutable struct", what you probably really want is just a class with the brevity of a primary constructor. We...