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

Side by Side Diff: pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart

Issue 2698013003: Fix strong mode errors introduced by b62a37a36b2d01c3c27979a2cf5eada24afce035. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7 import 'package:kernel/ast.dart' show
8 Class, 8 Class,
9 Constructor, 9 Constructor,
10 Member, 10 Member,
11 Procedure, 11 Procedure,
12 ProcedureKind; 12 ProcedureKind;
13 13
14 import '../errors.dart' show 14 import '../errors.dart' show
15 internalError; 15 internalError;
16 16
17 import '../kernel/kernel_builder.dart' show 17 import '../kernel/kernel_builder.dart' show
18 Builder, 18 Builder,
19 KernelClassBuilder, 19 KernelClassBuilder,
20 TypeBuilder; 20 KernelTypeBuilder;
21 21
22 import '../modifier.dart' show 22 import '../modifier.dart' show
23 abstractMask; 23 abstractMask;
24 24
25 import 'dill_member_builder.dart' show 25 import 'dill_member_builder.dart' show
26 DillMemberBuilder; 26 DillMemberBuilder;
27 27
28 import 'dill_library_builder.dart' show 28 import 'dill_library_builder.dart' show
29 DillLibraryBuilder; 29 DillLibraryBuilder;
30 30
(...skipping 20 matching lines...) Expand all
51 } else { 51 } else {
52 existing.next = builder; 52 existing.next = builder;
53 } 53 }
54 } 54 }
55 } 55 }
56 56
57 /// Returns true if this class is the result of applying a mixin to its 57 /// Returns true if this class is the result of applying a mixin to its
58 /// superclass. 58 /// superclass.
59 bool get isMixinApplication => cls.isMixinApplication; 59 bool get isMixinApplication => cls.isMixinApplication;
60 60
61 TypeBuilder get mixedInType => internalError("Not implemented."); 61 KernelTypeBuilder get mixedInType => internalError("Not implemented.");
62 62
63 Builder findConstructorOrFactory(String name) => constructors[name]; 63 Builder findConstructorOrFactory(String name) => constructors[name];
64 } 64 }
65 65
66 int computeModifiers(Class cls) { 66 int computeModifiers(Class cls) {
67 return cls.isAbstract ? abstractMask : 0; 67 return cls.isAbstract ? abstractMask : 0;
68 } 68 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698