OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.kernel_class_builder; | 5 library fasta.kernel_class_builder; |
6 | 6 |
7 import 'package:kernel/ast.dart' | 7 import 'package:kernel/ast.dart' |
8 show | 8 show |
9 Class, | 9 Class, |
10 Constructor, | 10 Constructor, |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 declaredMember.fileOffset, | 265 declaredMember.fileOffset, |
266 "The method '$name::${declaredMember.name.name}' doesn't have " | 266 "The method '$name::${declaredMember.name.name}' doesn't have " |
267 "the named parameter '${interfaceNamedParameters.current.name}' " | 267 "the named parameter '${interfaceNamedParameters.current.name}' " |
268 "of overriden method '${interfaceMember.enclosingClass.name}::" | 268 "of overriden method '${interfaceMember.enclosingClass.name}::" |
269 "${interfaceMember.name.name}'."); | 269 "${interfaceMember.name.name}'."); |
270 break outer; | 270 break outer; |
271 } | 271 } |
272 } | 272 } |
273 } | 273 } |
274 } | 274 } |
| 275 |
| 276 String get fullNameForErrors { |
| 277 return isMixinApplication |
| 278 ? "${supertype.fullNameForErrors} with ${mixedInType.fullNameForErrors}" |
| 279 : name; |
| 280 } |
275 } | 281 } |
OLD | NEW |