|
|
Use "Object" as the reified type of covariant override parameters.
This ensures the runtime type is of the tear-off expression's static
type, even when accessed through a superclass.
I also moved the two tests into a subdirectory so they are easier to
find. (It is inscrutable to me why we would have a single directory
with 1,868 test files in it.) That involved enabling recursive
directory listing in codegen_test, which exposed a couple of things.
Fix #27484.
R=leafp@google.com
Committed: https://github.com/dart-lang/sdk/commit/590a1880663cfa92494000edba4fba8e2e6cb08e
Total comments: 2
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+249 lines, -56 lines) |
Patch |
 |
M |
pkg/analyzer/lib/dart/element/element.dart
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/dart/element/element.dart
|
View
|
1
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/dart/element/handle.dart
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/dart/element/member.dart
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/lib/src/compiler/code_generator.dart
|
View
|
1
2
3
|
5 chunks |
+28 lines, -12 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/browser/language_tests.js
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/codegen_test.dart
|
View
|
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/dev_compiler/test/not_yet_strong_tests.dart
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
D |
tests/language_strong/checked_covariant_overrides_test.dart
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
A + |
tests/language_strong/covariant_override/runtime_check_test.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
tests/language_strong/covariant_override/tear_off_type_test.dart
|
View
|
1
2
3
|
1 chunk |
+158 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/language_strong/language_strong_kernel.status
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 13 (2 generated)
|