Do not conflate 2 issues into 1 test.

Passing the type argument vector <int> in the 'none' configuration is not
correct, but this is not what this test is supposed to check.

Change-Id: I2afd2987e572a6b4340a7d70ee92878abc67055e
Reviewed-on: https://dart-review.googlesource.com/8729
Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
Régis Crelier 2017-09-26 23:19:15 +00:00
parent aa4e052c6d
commit 708952b3b0
3 changed files with 3 additions and 4 deletions

View file

@ -24,5 +24,5 @@ List<int Function
void main() {
var list = bar<int>();
print(list[0].runtimeType);
Expect.equals(123, list[1]<int>(100, 23));
Expect.equals(123, list[1](100, 23));
}

View file

@ -134,7 +134,7 @@ generic_methods_dynamic_test/02: MissingRuntimeError
generic_methods_dynamic_test/03: MissingCompileTimeError
generic_methods_dynamic_test/04: MissingRuntimeError
generic_methods_generic_class_tearoff_test: RuntimeError
generic_methods_generic_function_result_test/none: CompileTimeError # Issue #30208
generic_methods_generic_function_result_test/01: MissingCompileTimeError # Issue #30208
generic_methods_named_parameters_test: RuntimeError
generic_methods_optional_parameters_test: RuntimeError
generic_methods_overriding_test/01: MissingCompileTimeError

View file

@ -11,7 +11,7 @@ constructor_duplicate_final_test/01: MissingCompileTimeError
constructor_duplicate_final_test/02: MissingCompileTimeError
const_string_test: RuntimeError
const_syntax_test/08: MissingCompileTimeError
generic_methods_generic_function_result_test/none: CompileTimeError # Issue #30208
generic_methods_generic_function_result_test/01: MissingCompileTimeError # Issue #30208
generic_no_such_method_dispatcher_test: CompileTimeError
hello_dart_test: Crash # error: expected: cls.is_type_finalized()
ct_const2_test: Pass, Crash # Flaky
@ -80,7 +80,6 @@ generic_methods_dynamic_test/02: MissingRuntimeError
generic_methods_dynamic_test/03: MissingCompileTimeError
generic_methods_dynamic_test/04: MissingRuntimeError
generic_methods_generic_class_tearoff_test: RuntimeError
generic_methods_generic_function_result_test/none: RuntimeError
generic_methods_named_parameters_test: RuntimeError
generic_methods_optional_parameters_test: RuntimeError
generic_methods_overriding_test/01: MissingCompileTimeError