|
Update handling of ambiguous name references
Update VM to latest spec. Referencing a name that is imported
from more than one library is no longer a compile-time error.
If one of the sources of an ambiguous reference is a dart library,
the dart library declaration is automatically hidden.
Also fixes a bug where looking up a getter name in a library
found the getter even though the name is filtered out in the
'hide' combinator.
Long-term we should fix the need for repeatedly convert between
the mangled getter and setter names and the untangled name.
Fixes 12915, 12913, 12724.
R=regis@google.com
Committed: https://code.google.com/p/dart/source/detail?r=27312
Total comments: 26
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+231 lines, -529 lines) |
Patch |
 |
M |
runtime/lib/isolate.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/lib/mirrors.cc
|
View
|
1
|
4 chunks |
+17 lines, -35 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/cha_test.cc
|
View
|
1
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/class_finalizer.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/class_finalizer.cc
|
View
|
1
|
3 chunks |
+7 lines, -15 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_descriptors_test.cc
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator_test.cc
|
View
|
1
|
5 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler_test.cc
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/dart_api_impl.cc
|
View
|
1
|
11 chunks |
+13 lines, -38 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/dart_entry.cc
|
View
|
1
|
5 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/dart_entry_test.cc
|
View
|
1
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/debugger.cc
|
View
|
1
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/exceptions.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/find_code_object_test.cc
|
View
|
1
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/guard_field_test.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_arm.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_ia32.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_mips.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_x64.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/mirrors_api_impl.cc
|
View
|
1
|
1 chunk |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
|
3 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
|
12 chunks |
+85 lines, -107 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_test.cc
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.h
|
View
|
1
|
1 chunk |
+6 lines, -14 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
1
|
6 chunks |
+18 lines, -177 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser_test.cc
|
View
|
1
|
3 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/resolver.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/resolver.cc
|
View
|
1
|
3 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/resolver_test.cc
|
View
|
1
|
5 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/snapshot.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/co19/co19-co19.status
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/co19/co19-dart2dart.status
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tests/co19/co19-runtime.status
|
View
|
1
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|