Index: pkg/front_end/lib/src/fasta/loader.dart |
diff --git a/pkg/front_end/lib/src/fasta/loader.dart b/pkg/front_end/lib/src/fasta/loader.dart |
index a069d12c4b29fb8ddd9555210d459b6ef70709b2..4f94ef5555274cde6b1e489b9dcb266ba38e622b 100644 |
--- a/pkg/front_end/lib/src/fasta/loader.dart |
+++ b/pkg/front_end/lib/src/fasta/loader.dart |
@@ -84,9 +84,6 @@ abstract class Loader<L> { |
coreLibrary = library; |
target.loadExtraRequiredLibraries(this); |
} |
- if (target.backendTarget.mayDefineRestrictedType(uri)) { |
- library.mayImplementRestrictedTypes = true; |
- } |
if (uri.scheme == "dart") { |
target.readPatchFiles(library); |
} |