blob: 0bbfc21439cf7a0c9d139c05102c930ae12df328 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart:5:16: Error: The type 'dynamic' is not exhaustively matched by the switch cases.
// Try adding a default case or cases that match Object.
// f(x) => switch(x) {
// ^
//
import self as self;
import "dart:core" as core;
static method f(dynamic x) dynamic
return block {
core::int #t1;
if(true && true)
#t1 = 0;
} =>#t1;
Extra constant evaluation status:
Evaluated: LogicalExpression @ org-dartlang-testcase:///switchExpression_onePattern_guarded.dart:6:10 -> BoolConstant(true)
Extra constant evaluation: evaluated: 4, effectively constant: 1