| OLD | NEW | 
|---|
| 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
|  | 5 import 'dart:async'; | 
|  | 6 import 'async_helper_lib.dart' as async; | 
|  | 7 | 
| 5 class A { | 8 class A { | 
| 6   static const S = 'A.S'; | 9   async.async get async => null; | 
| 7 } | 10 } | 
| 8 | 11 | 
| 9 const S = 'S'; | 12 async.async topLevel() => null; | 
| 10 |  | 
| 11 foo(var p) { |  | 
| 12   switch (p) { |  | 
| 13     case S: |  | 
| 14       break; |  | 
| 15     case A.S: |  | 
| 16       break; |  | 
| 17     case 'abc': |  | 
| 18       break; |  | 
| 19   } |  | 
| 20 } |  | 
| 21 | 13 | 
| 22 main() { | 14 main() { | 
| 23   foo('p'); | 15   var a = new A(); | 
|  | 16   var b = a.async; | 
|  | 17   var c = topLevel(); | 
| 24 } | 18 } | 
| OLD | NEW | 
|---|