blob: 5d20252070d2f34e9b9298c52e5fd163694e3faf [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/rasta/malformed_function.dart:6:4: Error: Refutable patterns can't be used in an irrefutable context.
// Try using an if-case, a 'switch' statement, or a 'switch' expression instead.
// (null) = null;
// ^
//
import self as self;
import "dart:core" as core;
static method main() dynamic {
{
final synthesized has-declared-initializer Null #0#0 = null;
if(!invalid-expression "pkg/front_end/testcases/rasta/malformed_function.dart:6:4: Error: Refutable patterns can't be used in an irrefutable context.
Try using an if-case, a 'switch' statement, or a 'switch' expression instead.
(null) = null;
^")
throw{for-error-handling} new core::StateError::•("Pattern matching error");
}
}