Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 library test; | |
| 2 import self as self; | |
| 3 import "dart:core" as core; | |
| 4 | |
| 5 class C<T extends core::Object> extends core::Object { | |
| 6 const constructor •() → void | |
| 7 : super core::Object::•() | |
| 8 ; | |
| 9 } | |
| 10 static method f<T extends core::Object>() → self::f::T | |
| 11 return null; | |
| 12 static method test(self::C<core::int> x) → void { | |
| 13 #L1: | |
| 14 switch(x) { | |
| 15 #L2: | |
| 16 case const self::C::•<core::int>(): | |
| 17 { | |
| 18 core::int y = 0; | |
| 19 break #L1; | |
| 20 } | |
| 21 #L3: | |
| 22 default: | |
| 23 { | |
| 24 core::int y = 0; | |
| 25 break #L1; | |
| 26 } | |
| 27 } | |
| 28 } | |
| 29 static method main() → dynamic {} | |
| OLD | NEW |