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

Side by Side Diff: pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_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.kernel_mixin_application_builder; 5 library fasta.kernel_mixin_application_builder;
6 6
7 import 'package:kernel/ast.dart' show InterfaceType, Supertype; 7 import 'package:kernel/ast.dart' show InterfaceType, Supertype;
8 8
9 import '../errors.dart' show internalError; 9 import '../deprecated_problems.dart' show deprecated_internalProblem;
10 10
11 import '../util/relativize.dart' show relativizeUri; 11 import '../util/relativize.dart' show relativizeUri;
12 12
13 import 'kernel_builder.dart' 13 import 'kernel_builder.dart'
14 show 14 show
15 KernelLibraryBuilder, 15 KernelLibraryBuilder,
16 KernelTypeBuilder, 16 KernelTypeBuilder,
17 LibraryBuilder, 17 LibraryBuilder,
18 MixinApplicationBuilder, 18 MixinApplicationBuilder,
19 TypeVariableBuilder; 19 TypeVariableBuilder;
(...skipping 13 matching lines...) Expand all
33 33
34 String subclassName; 34 String subclassName;
35 35
36 KernelMixinApplicationBuilder(KernelTypeBuilder supertype, 36 KernelMixinApplicationBuilder(KernelTypeBuilder supertype,
37 List<KernelTypeBuilder> mixins, this.library, int charOffset, Uri fileUri) 37 List<KernelTypeBuilder> mixins, this.library, int charOffset, Uri fileUri)
38 : charOffset = charOffset, 38 : charOffset = charOffset,
39 relativeFileUri = relativizeUri(fileUri), 39 relativeFileUri = relativizeUri(fileUri),
40 super(supertype, mixins, charOffset, fileUri); 40 super(supertype, mixins, charOffset, fileUri);
41 41
42 InterfaceType build(LibraryBuilder library) { 42 InterfaceType build(LibraryBuilder library) {
43 return internalError("Unsupported operation."); 43 return deprecated_internalProblem("Unsupported operation.");
44 } 44 }
45 45
46 Supertype buildSupertype(LibraryBuilder library) { 46 Supertype buildSupertype(LibraryBuilder library) {
47 return internalError("Unsupported operation."); 47 return deprecated_internalProblem("Unsupported operation.");
48 } 48 }
49 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698