Erik Ernst
Erik Ernst
It sounds like you all consider the matching operation on a scrutinee of type `dynamic` to be the same thing as a matching operation on a scrutinee of type `Object?`....
We just had an issue (https://github.com/dart-lang/sdk/issues/49585) about the performance of the current kind of switch statement. Apparently, some backends don't optimize those as much as I would have expected, but...
I think we're moving in and out of several topics here, so let me restate the parts that I'm a little bit worried about: - Some switch statements currently allow...
@leafpetersen wrote: > It does seems surprising to me if those pieces of code are not equivalent. and (in [this comment](https://github.com/dart-lang/language/issues/2378#issuecomment-1205836921)): > I have some concern that we are removing...
> Adding a default `parse` method will block people from having their real `parse` method. Indeed. It's a little bit like `toString`: A default implementation could be convenient, simple, and...
Thanks! Cf. https://github.com/dart-lang/language/pull/2343. The CHANGELOG comments near the beginning of the language specification LaTeX source are associated with the language version which was the current language version when the change...
> Also see Thanks! This is already handled in the upcoming revision of the language specification where null safety is added, along with many, many other changes.
No. Not a bad idea, but also not near the top of the list at this point. Could happen!
I also see the error in DartPad and with `dartanalyzer` and the vm, but this is indeed the behavior that we should have. Constant expressions in Dart were designed to...
I just checked whether I could find a "canonical" issue on enhancements to constant expression features, but it seems like there is no such thing. We have other requests like...