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

Unified Diff: lib/src/default_transformer.dart

Issue 1016913002: pkg/smoke: support latest analyzer version and formatted code (Closed) Base URL: https://github.com/dart-lang/smoke@master
Patch Set: updates Created 5 years, 9 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 | « lib/smoke.dart ('k') | lib/src/implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/default_transformer.dart
diff --git a/lib/src/default_transformer.dart b/lib/src/default_transformer.dart
index 2a7d9ec084c7bbb59f39083824505e4b5fa395c7..5c634a24e09f8de2ad22ae009889899875b59859 100644
--- a/lib/src/default_transformer.dart
+++ b/lib/src/default_transformer.dart
@@ -31,8 +31,8 @@ class DefaultTransformer extends Transformer {
// Note: this rewrite is highly-coupled with how implementation.dart is
// written. Make sure both are updated in sync.
transform.addOutput(new Asset.fromString(id, code
- .replaceAll(new RegExp('new Reflective[^;]*;'),
- 'throwNotConfiguredError();')
+ .replaceAll(
+ new RegExp('new Reflective[^;]*;'), 'throwNotConfiguredError();')
.replaceAll("import 'package:smoke/mirrors.dart';", '')));
});
}
« no previous file with comments | « lib/smoke.dart ('k') | lib/src/implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698