blob: 66b40c3cc12984f10adaefed2de237b46b57bc8a [file] [log] [blame]
// Unhandled errors:
//
// pkg/front_end/testcases/regress/issue_31192.dart:7:17: Error: Expected an assignment after the field name.
// To initialize a field, use the syntax 'name = value'.
// Increment() : x++ {}
// ^
library;
import self as self;
import "dart:core" as core;
class Increment extends core::Object {
field core::int x = null;
constructor •() self::Increment
: final dynamic #t1 = invalid-expression "pkg/front_end/testcases/regress/issue_31192.dart:7:17: Error: This couldn't be parsed.
Increment() : x++ {}
^" {}
}
static method main() → dynamic {}