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

Side by Side Diff: pkg/front_end/lib/src/fasta/dill/dill_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.dill_class_builder; 5 library fasta.dill_class_builder;
6 6
7 import 'package:kernel/ast.dart' show Class, Member; 7 import 'package:kernel/ast.dart' show Class, Member;
8 8
9 import '../errors.dart' show internalError; 9 import '../errors.dart' show internalError;
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } else { 46 } else {
47 scopeBuilder.addMember(name, builder); 47 scopeBuilder.addMember(name, builder);
48 } 48 }
49 } 49 }
50 50
51 /// Returns true if this class is the result of applying a mixin to its 51 /// Returns true if this class is the result of applying a mixin to its
52 /// superclass. 52 /// superclass.
53 bool get isMixinApplication => cls.isMixinApplication; 53 bool get isMixinApplication => cls.isMixinApplication;
54 54
55 KernelTypeBuilder get mixedInType => internalError("Not implemented."); 55 KernelTypeBuilder get mixedInType => internalError("Not implemented.");
56
57 void set mixedInType(KernelTypeBuilder mixin) {
58 internalError("Not implemented.");
59 }
56 } 60 }
57 61
58 int computeModifiers(Class cls) { 62 int computeModifiers(Class cls) {
59 return cls.isAbstract ? abstractMask : 0; 63 return cls.isAbstract ? abstractMask : 0;
60 } 64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698