01a27372e2
Change-Id: I8b7d9fdb5e2562914b66ccd748a8f417895658a4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/344705 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
32 lines
670 B
Plaintext
32 lines
670 B
Plaintext
class Class {
|
|
int get field => 42;
|
|
bool operator >=(Class cls) => true;
|
|
Class operator >(int i) => new Class();
|
|
}
|
|
|
|
argumentTypeNotAssignable(Class cls) {}
|
|
|
|
relationalPatternOperatorReturnTypeNotAssignableToBool(Class cls) {}
|
|
|
|
patternTypeMismatchInIrrefutableContext(List<String> list) {}
|
|
|
|
duplicateAssignmentPatternVariable(List<String> list) {}
|
|
|
|
duplicateRecordPatternField(o) {}
|
|
|
|
duplicateRestPattern(o) {}
|
|
|
|
emptyMapPattern(o) {}
|
|
|
|
singleRestPatternInMap(o) {}
|
|
|
|
matchedTypeIsStrictlyNonNullable(List<int> list) {}
|
|
|
|
nonBooleanCondition(int i) {}
|
|
|
|
refutablePatternInIrrefutableContext(int? x) {}
|
|
|
|
restPatternNotLastInMap(o) {}
|
|
|
|
restPatternWithSubPatternInMap(o) {}
|