| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.error; | 8 library engine.error; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2102 if (_hasEqualTypeNames(arguments)) { | 2102 if (_hasEqualTypeNames(arguments)) { |
| 2103 int count = arguments.length; | 2103 int count = arguments.length; |
| 2104 for (int i = 0; i < count; i++) { | 2104 for (int i = 0; i < count; i++) { |
| 2105 Object argument = arguments[i]; | 2105 Object argument = arguments[i]; |
| 2106 if (argument is DartType) { | 2106 if (argument is DartType) { |
| 2107 DartType type = argument; | 2107 DartType type = argument; |
| 2108 Element element = type.element; | 2108 Element element = type.element; |
| 2109 if (element == null) { | 2109 if (element == null) { |
| 2110 arguments[i] = type.displayName; | 2110 arguments[i] = type.displayName; |
| 2111 } else { | 2111 } else { |
| 2112 arguments[i] = element.extendedDisplayName; | 2112 arguments[i] = element.getExtendedDisplayName(type.displayName); |
| 2113 } | 2113 } |
| 2114 } | 2114 } |
| 2115 } | 2115 } |
| 2116 } else { | 2116 } else { |
| 2117 int count = arguments.length; | 2117 int count = arguments.length; |
| 2118 for (int i = 0; i < count; i++) { | 2118 for (int i = 0; i < count; i++) { |
| 2119 Object argument = arguments[i]; | 2119 Object argument = arguments[i]; |
| 2120 if (argument is DartType) { | 2120 if (argument is DartType) { |
| 2121 arguments[i] = argument.displayName; | 2121 arguments[i] = argument.displayName; |
| 2122 } | 2122 } |
| (...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4049 | 4049 |
| 4050 @override | 4050 @override |
| 4051 String get message => "%s"; | 4051 String get message => "%s"; |
| 4052 | 4052 |
| 4053 @override | 4053 @override |
| 4054 ErrorType get type => ErrorType.TODO; | 4054 ErrorType get type => ErrorType.TODO; |
| 4055 | 4055 |
| 4056 @override | 4056 @override |
| 4057 String get uniqueName => "${runtimeType.toString()}.${name}"; | 4057 String get uniqueName => "${runtimeType.toString()}.${name}"; |
| 4058 } | 4058 } |
| OLD | NEW |