Files
sdk/pkg/front_end/testcases/extensions/issue38713.dart.weak.transformed.expect
T
Johnni Winther 56f46b0659 Remove non-nullable experiment flag from front_end test cases.
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>
2021-02-18 12:29:18 +00:00

39 lines
1.2 KiB
Plaintext

library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue38713.dart:7:19: Error: Conflicts with the implicit setter of the field 'property2'.
// static void set property2(int x) {}
// ^
//
// pkg/front_end/testcases/extensions/issue38713.dart:6:14: Error: Conflicts with setter 'property2'.
// static int property2;
// ^
//
// pkg/front_end/testcases/extensions/issue38713.dart:9:19: Error: Conflicts with member 'property3'.
// static void set property3(int x) {}
// ^
//
// pkg/front_end/testcases/extensions/issue38713.dart:10:11: Error: Conflicts with setter 'property3'.
// int get property3 => 1;
// ^
//
import self as self;
import "dart:core" as core;
extension C on core::int* {
static field property2 = self::C|property2;
get property3 = self::C|get#property3;
static set property3 = set self::C|property3;
}
static field core::int* C|property2;
static set C|property3(core::int* x) → void {}
static method C|get#property3(lowered final core::int* #this) → core::int*
return 1;
static method main() → void {
self::C|property2;
self::C|property2 = 42;
self::C|property3 = 42;
self::C|get#property3(42);
}