blob: d92c666a945bad10d22a2e6840246a075acb8f7a [file]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/inference/circular_reference_via_closures.dart:7:5: Error: Can't infer the type of 'x': circularity found during type inference.
// Specify the type explicitly.
// var x = () => y;
// ^
//
import self as self;
static field invalid-type x = () () invalid-type => self::y;
static field () invalid-type y = () invalid-type => self::x;
static method main() dynamic {}