|
|
Add support for malformed types and postpone some related errors from compile
time to execution time.
Still to do (once spec is clarified):
- properly handle generic type bounds errors
- properly handle 'instance of' type checks involving malformed types
- fix bad tests
Committed: https://code.google.com/p/dart/source/detail?r=4732
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+482 lines, -257 lines) |
Patch |
 |
M |
runtime/lib/error.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/lib/error.cc
|
View
|
1
2
|
7 chunks |
+56 lines, -18 lines |
0 comments
|
Download
|
 |
M |
runtime/lib/error.dart
|
View
|
1
2
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/bootstrap_natives.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/class_finalizer.h
|
View
|
1
2
|
4 chunks |
+28 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/class_finalizer.cc
|
View
|
1
2
|
38 chunks |
+130 lines, -87 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator_ia32.cc
|
View
|
1
2
|
9 chunks |
+27 lines, -21 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator_x64.cc
|
View
|
1
2
|
15 chunks |
+32 lines, -27 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
|
5 chunks |
+40 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.h
|
View
|
1
2
|
5 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
1
2
|
35 chunks |
+111 lines, -57 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/co19/co19-runtime.status
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/language/language.status
|
View
|
1
2
|
3 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tests/language/src/Prefix22NegativeTest.dart
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/language/src/Prefix23NegativeTest.dart
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/language/src/TypeVariableBoundsTest.dart
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|