blob: 4dd15b26df3076491d0ff8a486346aea15bb8965 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/circularity-via-initializing-formal.dart:15:3: Error: Can't infer the type of 'C._circular': circularity found during type inference.
// Specify the type explicitly.
// C._circular(this.f);
// ^^^^^^^^^^^
// Unhandled errors:
//
// pkg/front_end/testcases/circularity-via-initializing-formal.dart:15:3: Error: Can't infer the type of 'C._circular': circularity found during type inference.
// Specify the type explicitly.
// C._circular(this.f);
// ^^^^^^^^^^^
library;
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 {}