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