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

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

Issue 2729913005: [Fasta] include source code in dill (Closed)
Patch Set: Created 3 years, 10 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/kernel/kernel_target.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
index 2ed1a8cfb5f3fed3f6dca27abde3a2b74e87a2a5..f3800fe72230b7f6d0f148e4f308f2a0e1b27ee8 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
@@ -106,9 +106,9 @@ class KernelTarget extends TargetImplementation {
SourceLoader<Library> createLoader() => new SourceLoader<Library>(this);
- void addLineStarts(Uri uri, List<int> lineStarts) {
+ void addSourceInformation(Uri uri, List<int> lineStarts, String sourceCode) {
ahe 2017/03/03 12:30:32 List<int>
String fileUri = relativizeUri(uri);
- uriToSource[fileUri] = new Source(lineStarts, fileUri);
+ uriToSource[fileUri] = new Source(lineStarts, sourceCode);
}
void read(Uri uri) {

Powered by Google App Engine
This is Rietveld 408576698