| 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.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 Loading... |
| 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 } |
| OLD | NEW |