Chromium Code Reviews
DescriptionFixes to mock SDK to enable dart:core to be summarized.
This CL makes the following changes to the mock SDK used by
AnalysisContextFactory.initContextWithCore:
- Getters created by the ElementFactory have their `synthetic`
property set correctly, and their corresponding synthetic fields
have their `final` property set correctly.
- The following class elements all have at least one constructor:
Function, Iterable, Iterator, Map, Null, StackTrace, Type, num,
double, _Proxy.
This allows resynthesize_test.dart's `test_core` to pass.
Also, some minor improvements are made to resynthesize_test.dart to
allow failures to be diagnosed more easily.
R=brianwilkerson@google.com, scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/80fc29cecd64aca41e5f5f492a4bebdda0c66367
Patch Set 1 #Patch Set 2 : Remove a bogus comment #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||