| Index: pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
|
| index c79e55f2a01cbd11624a0928d70a14b6fbc4f519..8b9d903425de08dcf0eac0c7471156b7a9261fbd 100644
|
| --- a/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
|
| +++ b/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
|
| @@ -16,6 +16,7 @@ import 'kernel_builder.dart'
|
| KernelNamedTypeBuilder,
|
| KernelTypeBuilder,
|
| KernelTypeVariableBuilder,
|
| + LibraryBuilder,
|
| MixinApplicationBuilder,
|
| TypeBuilder,
|
| TypeVariableBuilder;
|
| @@ -45,15 +46,17 @@ class KernelMixinApplicationBuilder
|
| relativeFileUri = relativizeUri(fileUri),
|
| super(supertype, mixins, charOffset, fileUri);
|
|
|
| - InterfaceType build() => buildSupertype().asInterfaceType;
|
| + InterfaceType build(LibraryBuilder library) {
|
| + return buildSupertype(library)?.asInterfaceType;
|
| + }
|
|
|
| - Supertype buildSupertype() {
|
| + Supertype buildSupertype(LibraryBuilder library) {
|
| if (builtType != null) return builtType;
|
| KernelTypeBuilder s = this.supertype;
|
| for (KernelTypeBuilder builder in mixins) {
|
| s = applyMixin(s, builder);
|
| }
|
| - builtType = s.buildSupertype();
|
| + builtType = s.buildSupertype(library);
|
| return builtType;
|
| }
|
|
|
|
|