blob: 85c075a1de5af7dcb6437be5760518118b58aea2 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/issue42997.dart:9:16: Error: Expected a function body or '=>'.
// Try adding {}.
// PropertyState();
// ^
//
// pkg/front_end/testcases/general/issue42997.dart:10:7: Error: 'PropertyState' is already declared in this scope.
// class PropertyState<I, O> {
// ^^^^^^^^^^^^^
// pkg/front_end/testcases/general/issue42997.dart:9:1: Context: Previous declaration of 'PropertyState'.
// PropertyState();
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/general/issue42997.dart:12:10: Error: Can't use 'PropertyState' because it is declared more than once.
// for (PropertyState<Object, Object>> state in _states) ;
// ^
//
// pkg/front_end/testcases/general/issue42997.dart:12:24: Error: Expected ';' after this.
// for (PropertyState<Object, Object>> state in _states) ;
// ^^^^^^
//
// pkg/front_end/testcases/general/issue42997.dart:12:30: Error: Expected an identifier, but got ','.
// Try inserting an identifier before ','.
// for (PropertyState<Object, Object>> state in _states) ;
// ^
//
// pkg/front_end/testcases/general/issue42997.dart:12:47: Error: Unexpected token 'in'.
// for (PropertyState<Object, Object>> state in _states) ;
// ^^
//
// pkg/front_end/testcases/general/issue42997.dart:12:41: Error: The getter 'state' isn't defined for the class 'PropertyState#1<I, O>'.
// - 'PropertyState#1' is from 'pkg/front_end/testcases/general/issue42997.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'state'.
// for (PropertyState<Object, Object>> state in _states) ;
// ^^^^^
//
// pkg/front_end/testcases/general/issue42997.dart:12:38: Error: The operator '>>' isn't defined for the class 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '>>' operator.
// for (PropertyState<Object, Object>> state in _states) ;
// ^^
//
import self as self;
import "dart:core" as core;
class PropertyState#1<I extends core::Object? = dynamic, O extends core::Object? = dynamic> extends core::Object {
synthetic constructor •() self::PropertyState#1<self::PropertyState#1::I%, self::PropertyState#1::O%>
: super core::Object::•()
;
method dispose() void {
for (final invalid-type #t1 = invalid-expression "pkg/front_end/testcases/general/issue42997.dart:12:10: Error: Can't use 'PropertyState' because it is declared more than once.
for (PropertyState<Object, Object>> state in _states) ;
^"{<invalid>}.<(#C1); invalid-expression "pkg/front_end/testcases/general/issue42997.dart:12:30: Error: This couldn't be parsed.
for (PropertyState<Object, Object>> state in _states) ;
^"; invalid-expression "pkg/front_end/testcases/general/issue42997.dart:12:30: Error: This couldn't be parsed.
for (PropertyState<Object, Object>> state in _states) ;
^", invalid-expression "pkg/front_end/testcases/general/issue42997.dart:12:38: Error: The operator '>>' isn't defined for the class 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '>>' operator.
for (PropertyState<Object, Object>> state in _states) ;
^^" in #C1{<unresolved>}.>>(invalid-expression "pkg/front_end/testcases/general/issue42997.dart:12:41: Error: The getter 'state' isn't defined for the class 'PropertyState#1<I, O>'.
- 'PropertyState#1' is from 'pkg/front_end/testcases/general/issue42997.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'state'.
for (PropertyState<Object, Object>> state in _states) ;
^^^^^" in this{<unresolved>}.state))
;
}
}
static method main() → dynamic {}
static abstract method PropertyState() → dynamic;
constants {
#C1 = TypeLiteralConstant(core::Object*)
}