blob: 7dff72a300acde2fbaaa55b23850e117fd03d1a2 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general_nnbd_opt_out/issue38961.dart:9:7: Error: 'x' is already declared in this scope.
// var x = this;
// ^
// pkg/front_end/testcases/general_nnbd_opt_out/issue38961.dart:8:11: Context: Previous declaration of 'x'.
// dynamic x = this;
// ^
//
// pkg/front_end/testcases/general_nnbd_opt_out/issue38961.dart:8:15: Error: Can't access 'this' in a field initializer.
// dynamic x = this;
// ^^^^
//
// pkg/front_end/testcases/general_nnbd_opt_out/issue38961.dart:9:11: Error: Can't access 'this' in a field initializer.
// var x = this;
// ^^^^
//
import self as self;
import "dart:core" as core;
class C extends core::Object {
field dynamic x = null;
synthetic constructor •() self::C*
: super core::Object::•()
;
}