-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
Description
Repro:
class A {
bool myMethod(bool value) {
return value;
}
bool isGetter { // This is being parsed as a method with synthetic `()`
}
void foo() {
print('');
}
int get myGetter {
return 42;
}
}Now at isGetter separate is with a whitespace. See many different diagnostics even above this.
Note that if the return type is void, this doesn't happen.
I'm not sure what else I could do to help here, but please let me know if I can do anything else.
CC @bwilkerson
Metadata
Metadata
Assignees
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.