Index: lib/src/server/server.dart |
diff --git a/lib/src/server/server.dart b/lib/src/server/server.dart |
index c0ce18bd40ad4105b367771d6a4da1e9cf868953..b23b8f000263902d1786770f9372603ab02d5186 100644 |
--- a/lib/src/server/server.dart |
+++ b/lib/src/server/server.dart |
@@ -149,7 +149,7 @@ class ServerCompiler extends AbstractCompiler { |
context.applyChanges(new ChangeSet()..changedSource(source)); |
var entryUnit = context.resolveCompilationUnit2(source, source); |
var lib = entryUnit.element.enclosingElement; |
- if (!options.checkSdk && lib.source.uri.scheme == 'dart') return; |
+ if (!options.checkSdk && lib.source.isInSystemLibrary) return; |
var current = node.info; |
if (current != null) { |
assert(current.library == lib); |