|
Support redirecting factory constructors in the VM (issue 3969).
Add test (negative tests still missing).
Some more work is needed regarding when to throw a dynamic error and when to
report a compile-time error. Some questions are not answered by the spec.
Committed: https://code.google.com/p/dart/source/detail?r=12791
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+485 lines, -32 lines) |
Patch |
|
|
runtime/vm/class_finalizer.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/class_finalizer.cc
|
View
|
1
|
2 chunks |
+126 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/object.h
|
View
|
1
|
4 chunks |
+39 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/object.cc
|
View
|
1
|
7 chunks |
+108 lines, -2 lines |
0 comments
|
Download
|
|
|
runtime/vm/parser.cc
|
View
|
1
|
16 chunks |
+78 lines, -30 lines |
0 comments
|
Download
|
|
|
runtime/vm/raw_object.h
|
View
|
1
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/raw_object.cc
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/raw_object_snapshot.cc
|
View
|
1
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/snapshot.h
|
View
|
1
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/snapshot.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
|
runtime/vm/symbols.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
|
tests/language/factory_redirection_test.dart
|
View
|
|
1 chunk |
+47 lines, -0 lines |
4 comments
|
Download
|
|
|
tests/language/language.status
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
|
tests/language/language_dart2js.status
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|