Index: pkg/front_end/lib/src/fasta/source/source_loader.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/source_loader.dart b/pkg/front_end/lib/src/fasta/source/source_loader.dart |
index d95702b3df962e033b8b60b65e859e10c675de5b..ddaa2aded9c2bd8918bd2dc0e37a44e5b62cc43b 100644 |
--- a/pkg/front_end/lib/src/fasta/source/source_loader.dart |
+++ b/pkg/front_end/lib/src/fasta/source/source_loader.dart |
@@ -80,7 +80,7 @@ class SourceLoader<L> extends Loader<L> { |
final Map<Uri, List<int>> sourceBytes = <Uri, List<int>>{}; |
- final bool excludeSource = CompilerContext.current.options.excludeSource; |
+ final bool excludeSource = !CompilerContext.current.options.embedSourceText; |
// Used when building directly to kernel. |
ClassHierarchy hierarchy; |