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

Unified Diff: lib/src/testing.dart

Issue 962213003: fix analysis messages (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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: lib/src/testing.dart
diff --git a/lib/src/testing.dart b/lib/src/testing.dart
index 6b11189b6ed1aae115e71164a1b9a2e8246350e0..2f2e4f84a136f8f6d6cbc86b6eea70daa97a07f4 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -287,6 +287,8 @@ class _TestSource implements Source {
bool exists() => true;
+ Source get source => this;
+
String _encoding;
String get encoding => _encoding != null ? _encoding : (_encoding = '$uri');

Powered by Google App Engine
This is Rietveld 408576698