Skip to content

Commit d353937

Browse files
natebiggsCommit Queue
authored andcommitted
Cleanup extra --strong flags being passed in test/web.
Change-Id: Ia00ced1c31ccd49dc883d4dfdc4fe644d8a5e363 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435600 Reviewed-by: Mayank Patke <[email protected]> Commit-Queue: Nate Biggs <[email protected]>
1 parent 124b98b commit d353937

File tree

57 files changed

+9
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+9
-105
lines changed

tests/web/bounded_type_literal_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
class Foo<T extends num> {}

tests/web/bounds_check1a_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
main() {

tests/web/bounds_check1b_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
main() {

tests/web/bounds_check2a_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
main() {

tests/web/bounds_check2b_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
main() {

tests/web/bounds_check3a_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
main() {

tests/web/bounds_check3b_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
main() {

tests/web/dart2js/regress/issue/32969_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
@JS()
86
library foo;
97

tests/web/deferred_function_types1_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types2_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types3_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types4_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types5_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types6_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types7_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/deferred_function_types8_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/async_helper.dart';
86
import 'package:expect/expect.dart';
97
import 'deferred_function_types_lib1.dart' deferred as lib1;

tests/web/dynamic_type_literal_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks
5+
// dart2jsOptions=--omit-implicit-checks
66

77
// Test generation of 'dynamic' type literals.
88

tests/web/generic_instantiation3_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
bool f<T, S>(T a, S b) => a is S;

tests/web/generic_instantiation4_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks
5+
// dart2jsOptions=--omit-implicit-checks
66

77
import 'package:expect/expect.dart';
88

tests/web/indirect_type_literal_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import "package:expect/expect.dart";
86

97
class A<T> {}

tests/web/instantiation_stub_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
// This needs one-arg instantiation.

tests/web/lax_runtime_type_closure_to_string5_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks --lax-runtime-type-to-string
5+
// dart2jsOptions=--omit-implicit-checks --lax-runtime-type-to-string
66

77
import 'package:expect/expect.dart';
88

tests/web/lax_runtime_type_closure_to_string6_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks --lax-runtime-type-to-string
5+
// dart2jsOptions=--omit-implicit-checks --lax-runtime-type-to-string
66

77
import 'package:expect/expect.dart';
88

tests/web/lax_runtime_type_equals1_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks --lax-runtime-type-to-string
5+
// dart2jsOptions=--omit-implicit-checks --lax-runtime-type-to-string
66

77
import 'package:expect/expect.dart';
88

tests/web/lax_runtime_type_equals2_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks --lax-runtime-type-to-string
5+
// dart2jsOptions=--omit-implicit-checks --lax-runtime-type-to-string
66

77
import 'package:expect/expect.dart';
88

tests/web/lax_runtime_type_equals3_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks --lax-runtime-type-to-string
5+
// dart2jsOptions=--omit-implicit-checks --lax-runtime-type-to-string
66

77
import 'package:expect/expect.dart';
88

tests/web/lax_runtime_type_equals4_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong --omit-implicit-checks --lax-runtime-type-to-string
5+
// dart2jsOptions=--omit-implicit-checks --lax-runtime-type-to-string
66

77
import 'package:expect/expect.dart';
88

tests/web/local_function_generic_strong_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
method1() {

tests/web/no_such_method_strong10_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong11_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
// Regression test checking that nsm-forwarders do not get installed for private
86
// members of other libraries. See http://dartbug.com/33665
97

tests/web/no_such_method_strong12_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong1_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong2_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong3_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong4_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong5_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong6_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong7_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong8_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/no_such_method_strong9_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
import 'package:expect/expect.dart';
86

97
abstract class A {

tests/web/regress/issue/27323_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// Formatting can break multitests, so don't format them.
66
// dart format off
77

8-
// dart2jsOptions=--strong
9-
108
import 'package:expect/expect.dart';
119

1210
class C {

tests/web/regress/issue/28749_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
// Regression test for http://dartbug.com/28749.
86
//
97
// This would crash at compile time because inner typedefs remain after calling

tests/web/regress/issue/32770a_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
// Regression test for issue 32770.
86

97
import 'package:expect/expect.dart';

tests/web/regress/issue/32770b_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// dart2jsOptions=--strong
6-
75
// Regression test for issue 32770.
86

97
import 'package:expect/expect.dart';

0 commit comments

Comments
 (0)