|
Pass type arguments as a list in generic methods invocations
All generic methods are equipped with one extra named parameter for
passing type arguments as a list of type values.
Additinally, this change forces strong mode usage for 'dartk' in
'reified_dart'. Strong mode is required for loader to not strip away
type arguments from generic methods. In future, a command line argument
may be implemented for that (e.g. --generic-methods), if generic method
support will land before the strong mode.
R=karlklose@google.com
Committed: https://github.com/dart-lang/sdk/commit/b87a479c2befd7f6b1f5bd3f3c53132368986042
Total comments: 14
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+333 lines, -224 lines) |
Patch |
|
M |
pkg/kernel/bin/reified_dart.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/lib/target/vm.dart
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
pkg/kernel/lib/target/vmreify.dart
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/lib/transformations/closure/converter.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/kernel/lib/transformations/reify/transformation/builder.dart
|
View
|
1
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/lib/transformations/reify/transformation/remove_generics.dart
|
View
|
1
|
3 chunks |
+25 lines, -6 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/lib/transformations/reify/transformation/transformer.dart
|
View
|
1
2
|
4 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/test/reify/suite.dart
|
View
|
1
|
6 chunks |
+50 lines, -34 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/closure2_test.dart.expect
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/closure_test.dart.expect
|
View
|
1
|
3 chunks |
+40 lines, -80 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/field_initializer2_test.dart.expect
|
View
|
1
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/field_initializer_test.dart.expect
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/function_type_test.dart.expect
|
View
|
1
|
2 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
|
A |
pkg/kernel/testcases/reify/generic_methods_simple_test.dart
|
View
|
1
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
pkg/kernel/testcases/reify/generic_methods_simple_test.dart.expect
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/is1_test.dart.expect
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/native_types_test.dart.expect
|
View
|
1
|
7 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/reuse_type_variables_test.dart.expect
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/simple_test.dart.expect
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/subclass_test.dart.expect
|
View
|
1
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/super1_test.dart.expect
|
View
|
1
|
3 chunks |
+24 lines, -22 lines |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/super3_test.dart.expect
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/typevariable1_test.dart.expect
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
pkg/kernel/testcases/reify/typevariable3_test.dart.expect
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|