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

Unified Diff: pkg/front_end/lib/src/fasta/fasta.dart

Issue 2977133002: Add documentationComment for Class to Kernel. Parse it. Resynthesize in Analyzer. (Closed)
Patch Set: Skip kDocumentationCommentIndex, don't store it. Created 3 years, 5 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/front_end/lib/src/fasta/fasta.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta.dart b/pkg/front_end/lib/src/fasta/fasta.dart
index 5b916c11e972879e4686e0a32883be584dfc73b3..e47b826f2771e683cdfc9ca0f99ba9c0b0f94a44 100644
--- a/pkg/front_end/lib/src/fasta/fasta.dart
+++ b/pkg/front_end/lib/src/fasta/fasta.dart
@@ -119,7 +119,7 @@ class CompileTask {
KernelTarget createKernelTarget(
DillTarget dillTarget, UriTranslator uriTranslator, bool strongMode) {
return new KernelTarget(
- c.fileSystem, dillTarget, uriTranslator, c.uriToSource);
+ c.fileSystem, false, dillTarget, uriTranslator, c.uriToSource);
}
Future<KernelTarget> buildOutline([Uri output]) async {
@@ -215,8 +215,8 @@ Future<List<Uri>> getDependencies(Uri script,
DillTarget dillTarget =
new DillTarget(ticker, uriTranslator, c.options.target);
if (platform != null) _appendDillForUri(dillTarget, platform);
- KernelTarget kernelTarget = new KernelTarget(
- PhysicalFileSystem.instance, dillTarget, uriTranslator, c.uriToSource);
+ KernelTarget kernelTarget = new KernelTarget(PhysicalFileSystem.instance,
+ false, dillTarget, uriTranslator, c.uriToSource);
kernelTarget.read(script);
await dillTarget.buildOutlines();

Powered by Google App Engine
This is Rietveld 408576698