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

Unified Diff: pkg/compiler/lib/src/serialization/element_serialization.dart

Issue 1881013002: Expand ResolvedAst to handle synthetic constructors. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt Created 4 years, 8 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/compiler/lib/src/serialization/element_serialization.dart
diff --git a/pkg/compiler/lib/src/serialization/element_serialization.dart b/pkg/compiler/lib/src/serialization/element_serialization.dart
index 78228ca41395b8220d86395e999bb1b84fa97a54..0aab229c9cdd533f3da5dd34d40fe93bb6d65106 100644
--- a/pkg/compiler/lib/src/serialization/element_serialization.dart
+++ b/pkg/compiler/lib/src/serialization/element_serialization.dart
@@ -105,7 +105,7 @@ class SerializerUtil {
if (element.sourcePosition != null) {
SourceSpan position = element.sourcePosition;
encoder.setInt(Key.OFFSET, position.begin);
- if (position.uri != element.compilationUnit.script.resourceUri) {
+ /*if (position.uri != element.compilationUnit.script.resourceUri)*/ {
// TODO(johnniwinther): What is the base URI in the case?
encoder.setUri(Key.URI, element.library.canonicalUri, position.uri);
}

Powered by Google App Engine
This is Rietveld 408576698