Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: lib/src/analysis_context.dart

Issue 1840203002: More analyzer updates, and handle negative_tests (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/src/codegen/side_effect_analysis.dart » ('j') | lib/src/report.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/analysis_context.dart
diff --git a/lib/src/analysis_context.dart b/lib/src/analysis_context.dart
index 35c7164abf551fd7d781527637bb76f2987dbe67..8a7c064273f25e6e5c30b85da4ffdbfd7cbfe337 100644
--- a/lib/src/analysis_context.dart
+++ b/lib/src/analysis_context.dart
@@ -40,7 +40,7 @@ AnalysisContext createAnalysisContext() {
/// `package:` URI resolvers.
SourceFactory createSourceFactory(SourceResolverOptions options,
{DartUriResolver sdkResolver, List<UriResolver> fileResolvers}) {
- var sdkResolver = options.useMockSdk
vsm 2016/03/29 22:10:54 doh!
+ sdkResolver ??= options.useMockSdk
? createMockSdkResolver(mockSdkSources)
: createSdkPathResolver(options.dartSdkPath);
« no previous file with comments | « no previous file | lib/src/codegen/side_effect_analysis.dart » ('j') | lib/src/report.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698