| 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 part of dart2js; | 5 part of dart2js; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * If true, print a warning for each method that was resolved, but not | 8 * If true, print a warning for each method that was resolved, but not |
| 9 * compiled. | 9 * compiled. |
| 10 */ | 10 */ |
| (...skipping 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2419 .createInstantiation([keyType, valueType]); | 2419 .createInstantiation([keyType, valueType]); |
| 2420 } | 2420 } |
| 2421 | 2421 |
| 2422 @override | 2422 @override |
| 2423 InterfaceType get nullType => nullClass.computeType(compiler); | 2423 InterfaceType get nullType => nullClass.computeType(compiler); |
| 2424 | 2424 |
| 2425 @override | 2425 @override |
| 2426 InterfaceType get numType => numClass.computeType(compiler); | 2426 InterfaceType get numType => numClass.computeType(compiler); |
| 2427 | 2427 |
| 2428 @override | 2428 @override |
| 2429 InterfaceType get stringType => stringClass.computeType(compiler); | 2429 InterfaceType get stringType => stringClass.computeType(compiler); |
| 2430 |
| 2431 @override |
| 2432 InterfaceType get typeType => typeClass.computeType(compiler); |
| 2430 | 2433 |
| 2431 @override | 2434 @override |
| 2432 InterfaceType iterableType([DartType elementType = const DynamicType()]) { | 2435 InterfaceType iterableType([DartType elementType = const DynamicType()]) { |
| 2433 return iterableClass.computeType(compiler) | 2436 return iterableClass.computeType(compiler) |
| 2434 .createInstantiation([elementType]); | 2437 .createInstantiation([elementType]); |
| 2435 } | 2438 } |
| 2436 | 2439 |
| 2437 @override | 2440 @override |
| 2438 InterfaceType futureType([DartType elementType = const DynamicType()]) { | 2441 InterfaceType futureType([DartType elementType = const DynamicType()]) { |
| 2439 return futureClass.computeType(compiler).createInstantiation([elementType]); | 2442 return futureClass.computeType(compiler).createInstantiation([elementType]); |
| 2440 } | 2443 } |
| 2441 | 2444 |
| 2442 @override | 2445 @override |
| 2443 InterfaceType streamType([DartType elementType = const DynamicType()]) { | 2446 InterfaceType streamType([DartType elementType = const DynamicType()]) { |
| 2444 return streamClass.computeType(compiler).createInstantiation([elementType]); | 2447 return streamClass.computeType(compiler).createInstantiation([elementType]); |
| 2445 } | 2448 } |
| 2446 } | 2449 } |
| 2447 | 2450 |
| 2448 typedef void InternalErrorFunction(Spannable location, String message); | 2451 typedef void InternalErrorFunction(Spannable location, String message); |
| OLD | NEW |