Lasse R.H. Nielsen
Lasse R.H. Nielsen
Example: ```dart class C { void _SomethingWithAVeryLongName( List sixteenLetterers, String fiver, List eightish) native 'SomethingWithAVeryLongName'; // ignore: native_function_body_in_non } ``` The line break between `void` and the name seems unnecessary....
If `autoMicrotasks` is set to `true` when creating `FakeAsync` or calling `fakeAsync`, the microtask queue will automatically be flushed by a microtask from the parent zone. For tests that only...
The class `Int64` has a `parse` method, but no `tryParse` method. I suggest adding a `try` version of each of the `parse` methods (`parse`, `parseHex`, `parseRadix`), which returns `null` instead...
Too many tests depend on accidental timing of events. It's easy to make a test which succeeds when you wait, say, precisely two microtasks before checking that something has happened,...
If/when we introduce part files with their own imports, it might also be useful to allow the part file to define its own *part local declarations*. A part-local declaration does...
The specification has special-cased the static type analysis of the int operators +, -, *, % and ~/ to be int if the argument is int, and double if the...
The specification of a for loop only handles the case for (var v = ...;...;...) ... but the syntax allows final, const and typed variables as well, as well as...
The augmentation specification [contains](https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/feature-specification.md#scoping) the following paragraph: > The static and instance member namespaces for an augmented type are shared across the declaration of the type in the augmented library...
_(Because I'm sure I've written this before, but it's probably in a comment of another issue, here is a stand-alone version.)_ The `copyWith` problem is that it's impossible to distinguish...
_EDIT: Updated to allow designating a constant variable as a macro application annotation, and removed the attempt to recursively follow variables or type-aliases. Only the macro application *declarations* that are...