blob: d46c246d8a1f091d47e12642c8db724324bcf50a [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general_nnbd_opt_out/circularity-via-initializing-formal.dart:17:3: Error: Can't infer the type of 'C._circular': circularity found during type inference.
// Specify the type explicitly.
// C._circular(this.f);
// ^^^^^^^^^^^
//
import self as self;
import "dart:core" as core;
class C extends core::Object {
field self::C* f = new self::C::_circular(null);
constructor _circular(self::C* f) self::C*
: self::C::f = f, super core::Object::•()
;
}
static field self::C* x = new self::C::_circular(null);
static method main() dynamic {}