|
More extensive error handling for 'unresolved' cases.
Rasta now has its own Accessors with proper error handling.
They are currently only used for unresolved cases. There is
a corresponding CL to kernel with some changes to accessors
to allow this.
There seem to be some bits of information missing for quality
error messages in some cases, like, for 'unresolvedGet' it
is not clear if the getter should be a top-level getter,
or static class getter, or something else.
R=ahe@google.com
Committed: https://github.com/dart-lang/rasta/commit/60a12d7a5c0c0689d35a79d1ff174e640a28d7fb
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+780 lines, -307 lines) |
Patch |
 |
M |
dart_vm_standalone/rasta_errors.dart
|
View
|
1
2
|
2 chunks |
+155 lines, -1 line |
0 comments
|
Download
|
 |
A |
lib/accessors.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+143 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/kernel.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+48 lines, -9 lines |
0 comments
|
Download
|
 |
M |
lib/kernel_visitor.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
lib/unresolved.dart
|
View
|
1
|
7 chunks |
+258 lines, -119 lines |
0 comments
|
Download
|
 |
M |
submodules.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/issue_000006.dart.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/issue_000011.dart.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/issue_000025.dart.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/issue_000026.dart.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/malformed_function_type.dart.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/mixin_library.dart.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/parser_error.dart.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/static.dart.txt
|
View
|
|
2 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
 |
M |
test/kernel/regression/super.dart.txt
|
View
|
|
4 chunks |
+82 lines, -82 lines |
0 comments
|
Download
|
 |
M |
test/kernel/regression/super_operator.dart.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/supports_reflection.dart.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/type_literals.dart.txt
|
View
|
|
1 chunk |
+58 lines, -58 lines |
0 comments
|
Download
|
 |
M |
test/kernel/regression/typedef.dart.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/kernel/regression/unresolved_for_in.dart.txt
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (4 generated)
|