Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart

Issue 2862223002: Rewrite mixin application handling in Fasta. (Closed)
Patch Set: Update status file. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart ('k') | pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698