Chromium Code Reviews
DescriptionTeach analyzer parser to handle native const factories/const constructors.
This is needed to parse VM patch files, which contain things like:
@patch const factory String.fromEnvironment(String name,
{String defaultValue})
native "String_fromEnvironment";
Currently analyzer would throw "Only redirecting factory constructors can be
declared to be 'const'." error when it sees this code.
BUG=
R=paulberry@google.com
Committed: https://github.com/dart-lang/sdk/commit/1f6e03883eec3f18ef09a0166344a5b6e96ce1fe
Patch Set 1 #Patch Set 2 : add a test #
Messages
Total messages: 7 (2 generated)
|
||||||||||||||||||||||||||||