|
|
Fix wrong detection of duplicate definition of function types (issue 187).
Duplicate import of a function type alias must be detected, but duplicate
import of a compiler generated canonical function type is necessary for proper
class resolution and is permitted.
Add tests.
Committed: https://code.google.com/p/dart/source/detail?r=658
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+120 lines, -47 lines) |
Patch |
 |
M |
runtime/vm/object.h
|
View
|
1
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
|
6 chunks |
+24 lines, -11 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object_test.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
1
|
4 chunks |
+30 lines, -32 lines |
0 comments
|
Download
|
 |
A |
tests/language/src/Library5NegativeTest.dart
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/src/Library5Test.dart
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/src/Library5a.dart
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/src/Library5b.dart
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/src/Library6NegativeTest.dart
|
View
|
1
2
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|