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

Unified Diff: pkg/analyzer/lib/src/kernel/resynthesize.dart

Issue 3000913002: Add implicit dart:core import when resynthsize from Kernel. (Closed)
Patch Set: Created 3 years, 4 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
Index: pkg/analyzer/lib/src/kernel/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/kernel/resynthesize.dart b/pkg/analyzer/lib/src/kernel/resynthesize.dart
index 189128029e9e84c8a167dd0e7564dde886a42130..296f02804fc6830031ceb62341c5c4db6ec5541d 100644
--- a/pkg/analyzer/lib/src/kernel/resynthesize.dart
+++ b/pkg/analyzer/lib/src/kernel/resynthesize.dart
@@ -491,6 +491,9 @@ class _KernelLibraryResynthesizerContextImpl
_KernelLibraryResynthesizerContextImpl(this.resynthesizer, this.library);
+ @override
+ kernel.Library get coreLibrary => resynthesizer._kernelMap['dart:core'];
+
@override
LibraryElementImpl getLibrary(String uriStr) {
return resynthesizer.getLibrary(uriStr);
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698