|
Implement the new '??=' operator in analyzer.
As in r44802, the new operator is only accepted by the tokenizer if
the command-line option "--enable-null-aware-operators" is supplied.
Only static analysis of '??=' is implemented; however, the tests in
tests/language will verify behavior once it is implemented.
R=scheglov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44873
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+482 lines, -2 lines) |
Patch |
|
M |
pkg/analyzer/lib/src/generated/element_resolver.dart
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/error_verifier.dart
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/non_error_resolver_test.dart
|
View
|
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/resolver_test.dart
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/if_null_assignment_behavior_test.dart
|
View
|
|
1 chunk |
+203 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/if_null_assignment_helper.dart
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/if_null_assignment_static_test.dart
|
View
|
|
1 chunk |
+160 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language.status
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language_analyzer.status
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language_dart2js.status
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (1 generated)
|