| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #library('ssa'); | 5 #library('ssa'); |
| 6 | 6 |
| 7 #import('../js/js.dart', prefix: 'js'); |
| 7 #import('../leg.dart'); | 8 #import('../leg.dart'); |
| 8 #import('../source_file.dart'); | 9 #import('../source_file.dart'); |
| 9 #import('../source_map_builder.dart'); | 10 #import('../source_map_builder.dart'); |
| 10 #import('../elements/elements.dart'); | 11 #import('../elements/elements.dart'); |
| 11 #import('../js_backend/js_backend.dart'); | 12 #import('../js_backend/js_backend.dart'); |
| 12 #import('../native_handler.dart', prefix: 'native'); | 13 #import('../native_handler.dart', prefix: 'native'); |
| 13 #import('../scanner/scannerlib.dart'); | 14 #import('../scanner/scannerlib.dart'); |
| 14 #import('../tree/tree.dart'); | 15 #import('../tree/tree.dart'); |
| 15 #import('../util/util.dart'); | 16 #import('../util/util.dart'); |
| 16 #import('../util/characters.dart'); | 17 #import('../util/characters.dart'); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 51 |
| 51 bool hasTypeArguments(Type type) { | 52 bool hasTypeArguments(Type type) { |
| 52 if (type is InterfaceType) { | 53 if (type is InterfaceType) { |
| 53 InterfaceType interfaceType = type; | 54 InterfaceType interfaceType = type; |
| 54 return (!interfaceType.arguments.isEmpty() && | 55 return (!interfaceType.arguments.isEmpty() && |
| 55 interfaceType.arguments.tail.isEmpty()); | 56 interfaceType.arguments.tail.isEmpty()); |
| 56 } | 57 } |
| 57 return false; | 58 return false; |
| 58 } | 59 } |
| 59 } | 60 } |
| OLD | NEW |