Fix for top-level inference error in SourceLoader.

R=ahe@google.com
BUG=

Review-Url: https://codereview.chromium.org/2776353005 .
This commit is contained in:
Konstantin Shcheglov 2017-03-29 09:33:10 -07:00
parent 16e7ab8d17
commit 13f6976ddb

View file

@ -46,7 +46,7 @@ import 'source_library_builder.dart' show SourceLibraryBuilder;
class SourceLoader<L> extends Loader<L> {
final Map<Uri, List<int>> sourceBytes = <Uri, List<int>>{};
final excludeSource = CompilerContext.current.options.excludeSource;
final bool excludeSource = CompilerContext.current.options.excludeSource;
// Used when building directly to kernel.
ClassHierarchy hierarchy;