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

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

Issue 2970273004: Deprecate all diagnostics methods that use strings. (Closed)
Patch Set: Merged with 4df146dd9a465d63344330bf3e45524b927c92ec Created 3 years, 5 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 '../deprecated_problems.dart' show deprecated_internalProblem;
10 10
11 import '../kernel/kernel_builder.dart' 11 import '../kernel/kernel_builder.dart'
12 show MemberBuilder, KernelClassBuilder, KernelTypeBuilder, Scope; 12 show MemberBuilder, KernelClassBuilder, KernelTypeBuilder, Scope;
13 13
14 import '../modifier.dart' show abstractMask; 14 import '../modifier.dart' show abstractMask;
15 15
16 import 'dill_member_builder.dart' show DillMemberBuilder; 16 import 'dill_member_builder.dart' show DillMemberBuilder;
17 17
18 import 'dill_library_builder.dart' show DillLibraryBuilder; 18 import 'dill_library_builder.dart' show DillLibraryBuilder;
19 19
(...skipping 25 matching lines...) Expand all
45 scopeBuilder.addSetter(name, builder); 45 scopeBuilder.addSetter(name, builder);
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 =>
56 deprecated_internalProblem("Not implemented.");
56 57
57 void set mixedInType(KernelTypeBuilder mixin) { 58 void set mixedInType(KernelTypeBuilder mixin) {
58 internalError("Not implemented."); 59 deprecated_internalProblem("Not implemented.");
59 } 60 }
60 } 61 }
61 62
62 int computeModifiers(Class cls) { 63 int computeModifiers(Class cls) {
63 return cls.isAbstract ? abstractMask : 0; 64 return cls.isAbstract ? abstractMask : 0;
64 } 65 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/deprecated_problems.dart ('k') | pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698