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

Unified Diff: pkg/compiler/lib/src/script.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/script.dart
diff --git a/pkg/compiler/lib/src/script.dart b/pkg/compiler/lib/src/script.dart
index f8278ab248923c5323a2fde94ca95f221c56c96b..403776b74d9db47a646f0873a2d57c97674d4117 100644
--- a/pkg/compiler/lib/src/script.dart
+++ b/pkg/compiler/lib/src/script.dart
@@ -16,7 +16,6 @@ class Script {
*/
final Uri readableUri;
-
/**
* The resource URI from which this script was loaded.
*
@@ -27,14 +26,13 @@ class Script {
/// This script was synthesized.
final bool isSynthesized;
- Script(this.readableUri, this.resourceUri, this.file)
- : isSynthesized = false;
+ Script(this.readableUri, this.resourceUri, this.file) : isSynthesized = false;
Script.synthetic(Uri uri)
: readableUri = uri,
resourceUri = uri,
- file = new StringSourceFile.fromUri(uri,
- "// Synthetic source file generated for '$uri'."),
+ file = new StringSourceFile.fromUri(
+ uri, "// Synthetic source file generated for '$uri'."),
isSynthesized = true;
String get text => (file == null) ? null : file.slowText();
« no previous file with comments | « pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart ('k') | pkg/compiler/lib/src/serialization/constant_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698