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

Unified Diff: pkg/analyzer/lib/src/task/html.dart

Issue 2052293002: Fix the generation of URIs for scripts (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/html.dart
diff --git a/pkg/analyzer/lib/src/task/html.dart b/pkg/analyzer/lib/src/task/html.dart
index 8407f17ff41c14d17e422e131085aff882bfa643..0478bdbc162f965e5f59dd06ddb139542a35b9ed 100644
--- a/pkg/analyzer/lib/src/task/html.dart
+++ b/pkg/analyzer/lib/src/task/html.dart
@@ -80,8 +80,8 @@ class DartScript implements Source {
String get shortName => source.shortName;
@override
- Uri get uri =>
- source.uri.replace(queryParameters: {'offset': fragments[0].offset});
+ Uri get uri => source.uri
+ .replace(queryParameters: {'offset': fragments[0].offset.toString()});
@override
UriKind get uriKind =>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698