mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 01:28:21 +00:00
Update some noSuchMethod based tests to the currently desired behavior.
Fixes #33498 Bug: http://dartbug.com/33498 Change-Id: I4a62a830cc8993748da816967753a8ce9a025d46 Reviewed-on: https://dart-review.googlesource.com/61500 Commit-Queue: Dmitry Stefantsov <dmitryas@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
This commit is contained in:
parent
bf4f9a9163
commit
52b2a869bc
|
@ -1170,6 +1170,8 @@ string_unicode2_negative_test: CompileTimeError
|
|||
string_unicode3_negative_test: CompileTimeError
|
||||
string_unicode4_negative_test: CompileTimeError
|
||||
super_bound_closure_test/none: CompileTimeError
|
||||
super_no_such_method4_test/01: MissingCompileTimeError # Issue 33553
|
||||
super_no_such_method5_test/01: MissingCompileTimeError # Issue 33553
|
||||
super_setter_test: StaticWarning # Issue 28823
|
||||
switch_case_test/none: CompileTimeError
|
||||
syntax_test/60: MissingCompileTimeError
|
||||
|
@ -1628,6 +1630,8 @@ string_no_operator_test/16: MissingCompileTimeError
|
|||
string_test/01: MissingCompileTimeError
|
||||
substring_test/01: MissingCompileTimeError
|
||||
super_assign_test/01: MissingCompileTimeError
|
||||
super_no_such_method4_test/01: MissingCompileTimeError # Requires Dart 2 semantics, related to issue 33553.
|
||||
super_no_such_method5_test/01: MissingCompileTimeError # Requires Dart 2 semantics, related to issue 33553.
|
||||
symbol_literal_test/01: MissingCompileTimeError
|
||||
sync_generator1_test/01: MissingCompileTimeError
|
||||
syntax_test/59: MissingCompileTimeError
|
||||
|
|
|
@ -1764,11 +1764,6 @@ string_split_test: CompileTimeError
|
|||
string_supertype_checked_test: CompileTimeError
|
||||
super_bound_closure_test/none: CompileTimeError
|
||||
super_call4_test/01: MissingCompileTimeError
|
||||
super_no_such_method4_test: CompileTimeError # Issue 33498
|
||||
super_no_such_method5_test: CompileTimeError # Issue 33498
|
||||
super_operator_index6_test: CompileTimeError
|
||||
super_operator_index7_test: CompileTimeError
|
||||
super_operator_index8_test: CompileTimeError
|
||||
super_test: RuntimeError
|
||||
switch_bad_case_test/01: MissingCompileTimeError
|
||||
switch_bad_case_test/02: MissingCompileTimeError
|
||||
|
|
|
@ -162,6 +162,8 @@ string_split_test: CompileTimeError
|
|||
string_supertype_checked_test: CompileTimeError
|
||||
super_bound_closure_test/none: CompileTimeError
|
||||
super_call4_test/01: MissingCompileTimeError
|
||||
super_no_such_method4_test/01: MissingCompileTimeError # Requires Dart 2 semantics. See http://dartbug.com/33380.
|
||||
super_no_such_method5_test/01: MissingCompileTimeError # Requires Dart 2 semantics. See http://dartbug.com/33380.
|
||||
super_operator_index5_test: RuntimeError # 33470
|
||||
super_operator_index7_test: RuntimeError # 33470
|
||||
super_operator_index8_test: RuntimeError # 33470
|
||||
|
@ -553,11 +555,6 @@ string_split_test: CompileTimeError # Issue 31616
|
|||
string_supertype_checked_test: CompileTimeError # Issue 31616
|
||||
super_bound_closure_test/none: CompileTimeError # Issue 31533
|
||||
super_call4_test/01: MissingCompileTimeError
|
||||
super_no_such_method4_test: CompileTimeError # Issue 33498
|
||||
super_no_such_method5_test: CompileTimeError # Issue 33498
|
||||
super_operator_index6_test: CompileTimeError # Issue 33498
|
||||
super_operator_index7_test: CompileTimeError # Issue 33498
|
||||
super_operator_index8_test: CompileTimeError # Issue 33498
|
||||
switch_bad_case_test/01: MissingCompileTimeError
|
||||
switch_bad_case_test/02: MissingCompileTimeError
|
||||
switch_case_test/00: MissingCompileTimeError
|
||||
|
|
|
@ -1376,11 +1376,6 @@ setter_override_test/03: MissingCompileTimeError
|
|||
string_split_test: CompileTimeError
|
||||
string_supertype_checked_test: CompileTimeError
|
||||
super_bound_closure_test/none: CompileTimeError
|
||||
super_no_such_method4_test: CompileTimeError # Issue 33498
|
||||
super_no_such_method5_test: CompileTimeError # Issue 33498
|
||||
super_operator_index6_test: CompileTimeError # Issue 33498
|
||||
super_operator_index7_test: CompileTimeError # Issue 33498
|
||||
super_operator_index8_test: CompileTimeError # Issue 33498
|
||||
try_catch_test/01: MissingCompileTimeError
|
||||
type_promotion_functions_test/02: CompileTimeError
|
||||
type_promotion_functions_test/03: CompileTimeError
|
||||
|
@ -1449,6 +1444,8 @@ prefix_transitive_import_prefix_test/03: MissingCompileTimeError
|
|||
prefix_transitive_import_test/01: MissingCompileTimeError
|
||||
prefix_transitive_import_test/02: MissingCompileTimeError
|
||||
setter_override2_test/02: MissingCompileTimeError
|
||||
super_no_such_method4_test/01: MissingCompileTimeError # Requires Dart 2 semantics. See http://dartbug.com/33380.
|
||||
super_no_such_method5_test/01: MissingCompileTimeError # Requires Dart 2 semantics. See http://dartbug.com/33380.
|
||||
variable_shadow_class_test/01: MissingCompileTimeError
|
||||
|
||||
[ $mode == debug && $runtime == vm && $strong && ($compiler == app_jitk || $compiler == dartk) ]
|
||||
|
@ -2246,11 +2243,6 @@ unresolved_top_level_var_test: MissingCompileTimeError
|
|||
*: SkipByDesign # language_2 is only supported in strong mode.
|
||||
|
||||
[ ($compiler == app_jitk || $compiler == dartk || $compiler == dartkp) && ($runtime == dart_precompiled || $runtime == vm) ]
|
||||
super_no_such_method4_test: CompileTimeError # Issue 33498
|
||||
super_no_such_method5_test: CompileTimeError # Issue 33498
|
||||
super_operator_index6_test: CompileTimeError # Issue 33498
|
||||
super_operator_index7_test: CompileTimeError # Issue 33498
|
||||
super_operator_index8_test: CompileTimeError # Issue 33498
|
||||
type_alias_equality_test/02: RuntimeError # Issue 31359
|
||||
type_alias_equality_test/03: RuntimeError # Issue 31359
|
||||
type_alias_equality_test/04: RuntimeError # Issue 31359
|
||||
|
|
|
@ -13,7 +13,7 @@ class A {
|
|||
class B extends Object with A {
|
||||
noSuchMethod(im) => 87;
|
||||
|
||||
foo() => super.foo();
|
||||
foo() => super.foo(); //# 01: compile-time error
|
||||
}
|
||||
|
||||
main() {
|
||||
|
|
|
@ -11,7 +11,7 @@ class A {
|
|||
}
|
||||
|
||||
class B extends Object with A {
|
||||
foo() => super.foo();
|
||||
foo() => super.foo(); //# 01: compile-time error
|
||||
}
|
||||
|
||||
main() {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import "package:expect/expect.dart";
|
||||
|
||||
abstract class A {
|
||||
class A {
|
||||
var indexField = new List(2);
|
||||
operator []=(index, value) {
|
||||
indexField[index] = value;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import "package:expect/expect.dart";
|
||||
|
||||
abstract class A {
|
||||
class A {
|
||||
var indexField = new List(2);
|
||||
|
||||
operator []=(index, value);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import "package:expect/expect.dart";
|
||||
|
||||
abstract class A {
|
||||
class A {
|
||||
var indexField = new List(2);
|
||||
|
||||
operator []=(index, value);
|
||||
|
|
Loading…
Reference in a new issue