Skip to content

Commit

Permalink
Forward type arguments in one-shot interceptors.
Browse files Browse the repository at this point in the history
The status change is unrelated.

[email protected]

Change-Id: Ic611ec7e9fa6b8e5dae9de7fc106fd839dd35bb6
Reviewed-on: https://dart-review.googlesource.com/50322
Reviewed-by: Stephen Adams <[email protected]>
Reviewed-by: Sigmund Cherem <[email protected]>
  • Loading branch information
rakudrama committed Apr 9, 2018
1 parent 1fd3011 commit 899dbe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ class InterceptorStubGenerator {
for (int i = 0; i < selector.argumentCount; i++) {
parameterNames.add('a$i');
}
for (int i = 1; i <= selector.typeArgumentCount; i++) {
parameterNames.add('\$T$i');
}
}

jsAst.Name invocationName = _namer.invocationName(selector);
Expand Down
1 change: 1 addition & 0 deletions tests/language_2/language_2_dart2js.status
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,7 @@ compile_time_constant_static5_test/23: CompileTimeError
conditional_rewrite_test: RuntimeError
config_import_corelib_test: CompileTimeError
config_import_test: RuntimeError
const_cast3_test: Crash # type 'TypeVariableType' is not a subtype of type 'InterfaceType' of 'base' where
const_dynamic_type_literal_test/02: MissingCompileTimeError
const_evaluation_test/01: RuntimeError
const_instance_field_test/01: MissingCompileTimeError
Expand Down

0 comments on commit 899dbe4

Please sign in to comment.