Bob Nystrom
Bob Nystrom
In #4357, I went back to the earlier approach where the class body scope in the introductory declaration and all augmentations contains all members defined by all of the declarations...
> The workaround is using exhaustive switches. > > ```dart > void example() { > final result = Random().nextBool() ? const Success(1) : const Failure(123.0); > switch (result) { >...
It seems to be working for me now? I was able to repro this problem a while back. Maybe something was just temporarily broken on PayHip's end.
Weird. I do know lots of people have used the ePUB file on lots of readers without issues, so the most likely answer is that it's something weird with your...
I'd probably use "value" when referring to the thing you can get out of a list or set, and "entry" for the key-value pairs a map contains. I do have...
Another approach would be to use both library prefixes and a class if you really do want two levels of nesting: ```dart // constants.dart: class Colors { static const String...
> If there are legal values that can't be represented in the new format I think it would be OK to keep the old format around just for those cases....
We have talked about supporting non-overridable members before. I think it could be a useful feature, but it's not clear that it's worth it. If we did go in that...
Based on the trybots, it looks like this behavior is incorrect on: ``` | dart2js-minified-strong-linux-x64-d8/ | language_2/script2_test | Pass | CompileTimeError | | dart2js-minified-strong-linux-x64-d8/production | language_2/script2_test | Pass | CompileTimeError...
> so it's no actual use of the "feature". True, but it should still be an error. :)