| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/patterns/patternVariableDeclarationStatement_noMetadata_var_extractor.dart:6:7: Error: 'C' isn't a type. |
| // var C(f: a) = x; |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| static method f(dynamic x) → dynamic { |
| hoisted has-declared-initializer invalid-type a; |
| { |
| final synthesized dynamic #0#0 = x; |
| if(!(#0#0 is invalid-type && (let final dynamic #t1 = a = #0#0{invalid-type}{<invalid>}.f in true))) |
| throw{for-error-handling} new core::StateError::•("Pattern matching error"); |
| } |
| } |