| 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('../native_handler.dart', prefix: 'native'); | 9 #import('../native_handler.dart', prefix: 'native'); |
| 9 #import('../source_file.dart'); | 10 #import('../source_file.dart'); |
| 10 #import('../source_map_builder.dart'); | 11 #import('../source_map_builder.dart'); |
| 11 #import('../elements/elements.dart'); | 12 #import('../elements/elements.dart'); |
| 12 #import('../scanner/scannerlib.dart'); | 13 #import('../scanner/scannerlib.dart'); |
| 13 #import('../tree/tree.dart'); | 14 #import('../tree/tree.dart'); |
| 14 #import('../util/util.dart'); | 15 #import('../util/util.dart'); |
| 15 #import('../util/characters.dart'); | 16 #import('../util/characters.dart'); |
| 16 | 17 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 | 46 |
| 46 bool hasTypeArguments(Type type) { | 47 bool hasTypeArguments(Type type) { |
| 47 if (type is InterfaceType) { | 48 if (type is InterfaceType) { |
| 48 InterfaceType interfaceType = type; | 49 InterfaceType interfaceType = type; |
| 49 return (!interfaceType.arguments.isEmpty() && | 50 return (!interfaceType.arguments.isEmpty() && |
| 50 interfaceType.arguments.tail.isEmpty()); | 51 interfaceType.arguments.tail.isEmpty()); |
| 51 } | 52 } |
| 52 return false; | 53 return false; |
| 53 } | 54 } |
| 54 } | 55 } |
| OLD | NEW |