Paul Berry
Paul Berry
> That seems both optimal and consistent. Is there any problem with doing the exhaustiveness checking at that point? Yeah, I agree that this would be optimal and consistent. And...
This issue has come up again during the work on https://github.com/dart-lang/sdk/issues/54575. I'm currently working around it by suppressing the "unreachable switch default" warning in the circumstance where the type of...
I'm with @lrhn about `let` not meaning "null check" to me. Also, I really hope that one day we can have let-expressions in Dart (they're so useful that we even...
If we decide to move forward with `let pattern = expression else statement;`, we'll need to revert https://github.com/dart-lang/language/pull/2639. That PR removed the definitions of pattern type schema for logical-or, null-check,...
Yeah, I think we're in a good position to generalize context type schemas in the future. We just need to be careful how we define it. Regarding your idea of...
This came up in some internal code recently. Here's a stripped-down version of what the code looked like (with the identifier names and types changed to protect IP): ```dart void...
@a-siva looking at `pkg/dartdev/lib/src/sdk.dart` and `pkg/dartdev/lib/src/analysis_server.dart`, it looks like the analysis server still hasn't been switched over to AoT. But the box "Switch frontend server invoked by Analysis server to...
@mkustermann > [@a-siva](https://github.com/a-siva) Is there any plan to also switch the formatter? > > Developers often have the format-on-save enabled, which will make the IDE/Editor format the source before writing...
@nex3 Sorry for not bundling this with the very similar https://github.com/sass/dart-sass/pull/2318. I'm working my way through a google3 LSC, and I failed to notice that these two changes both affected...
I've verified that fixing this issue causes zero failures in Google3.