56f46b0659
This changes the CFE expectation test suites to use unsound null safety as default to avoid passing --enable-experiments=no-non-nullable to opt out old test folders. This change removes most test folders from the 'strong' tester, since this now only supports sound null safety, which requires all libraries to be opted in. Instead, the 'weak' tester now runs all test folders. Additionally the 'outline' tester is changed to use unsound null safety so that it call be used on all test folders. The 'fast_strong' tester is removed since it should just be run locally and it can be run by passing an option to the other testers. References to non-existing 'shaker' folder has been removed from testing.json. Change-Id: Ibcc306f7b27d06b9637c205238bc408194f1d062 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184787 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
105 lines
4.7 KiB
Plaintext
105 lines
4.7 KiB
Plaintext
library;
|
|
//
|
|
// Problems in library:
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:18:16: Error: Method not found: 'method'.
|
|
// Extension(s).method();
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:19:16: Error: Getter not found: 'method'.
|
|
// Extension(s).method;
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:20:16: Error: Setter not found: 'method'.
|
|
// Extension(s).method = 42;
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:21:16: Error: Getter not found: 'getter'.
|
|
// Extension(s).getter;
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:22:16: Error: Setter not found: 'getter'.
|
|
// Extension(s).getter = 42;
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:23:16: Error: Getter not found: 'setter'.
|
|
// Extension(s).setter;
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:24:16: Error: Setter not found: 'setter'.
|
|
// Extension(s).setter = 42;
|
|
// ^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:25:16: Error: Getter not found: 'property'.
|
|
// Extension(s).property;
|
|
// ^^^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:26:16: Error: Setter not found: 'property'.
|
|
// Extension(s).property = 42;
|
|
// ^^^^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:27:16: Error: Getter not found: 'field'.
|
|
// Extension(s).field;
|
|
// ^^^^^
|
|
//
|
|
// pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:28:16: Error: Setter not found: 'field'.
|
|
// Extension(s).field = 42;
|
|
// ^^^^^
|
|
//
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
extension Extension on core::String* {
|
|
static method method = self::Extension|method;
|
|
static get getter = get self::Extension|getter;
|
|
static get property = get self::Extension|property;
|
|
static field field = self::Extension|field;
|
|
static set setter = set self::Extension|setter;
|
|
static set property = set self::Extension|property;
|
|
}
|
|
static field dynamic Extension|field;
|
|
static method Extension|method() → dynamic {}
|
|
static get Extension|getter() → dynamic
|
|
return null;
|
|
static set Extension|setter(dynamic _) → void {}
|
|
static get Extension|property() → dynamic
|
|
return null;
|
|
static set Extension|property(dynamic _) → void {}
|
|
static method main() → dynamic {}
|
|
static method errors() → dynamic {
|
|
core::String* s = "";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:18:16: Error: Method not found: 'method'.
|
|
Extension(s).method();
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:19:16: Error: Getter not found: 'method'.
|
|
Extension(s).method;
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:20:16: Error: Setter not found: 'method'.
|
|
Extension(s).method = 42;
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:21:16: Error: Getter not found: 'getter'.
|
|
Extension(s).getter;
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:22:16: Error: Setter not found: 'getter'.
|
|
Extension(s).getter = 42;
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:23:16: Error: Getter not found: 'setter'.
|
|
Extension(s).setter;
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:24:16: Error: Setter not found: 'setter'.
|
|
Extension(s).setter = 42;
|
|
^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:25:16: Error: Getter not found: 'property'.
|
|
Extension(s).property;
|
|
^^^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:26:16: Error: Setter not found: 'property'.
|
|
Extension(s).property = 42;
|
|
^^^^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:27:16: Error: Getter not found: 'field'.
|
|
Extension(s).field;
|
|
^^^^^";
|
|
invalid-expression "pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart:28:16: Error: Setter not found: 'field'.
|
|
Extension(s).field = 42;
|
|
^^^^^";
|
|
}
|