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

Unified Diff: dart/lib/compiler/implementation/tools/mini_parser.dart

Issue 10876008: Remove most superfluous getter arguments from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/lib/compiler/implementation/tools/mini_parser.dart
diff --git a/dart/lib/compiler/implementation/tools/mini_parser.dart b/dart/lib/compiler/implementation/tools/mini_parser.dart
index 58cafd841150d2a24708b06acfebe6e2425d1c91..b512a8c5660ccd31a8db6d835cfdd8715417f729 100644
--- a/dart/lib/compiler/implementation/tools/mini_parser.dart
+++ b/dart/lib/compiler/implementation/tools/mini_parser.dart
@@ -302,7 +302,7 @@ class MySourceFile extends SourceFile {
MySourceFile(filename, this.rawText) : super(filename, null);
- String get text() {
+ String get text {
if (rawText is String) {
return rawText;
} else {
@@ -324,6 +324,6 @@ class MySourceFile extends SourceFile {
class Mock {
const Mock();
- bool get useColors() => true;
+ bool get useColors => true;
internalError(message) { throw message.toString(); }
}
« no previous file with comments | « dart/lib/compiler/implementation/ssa/value_set.dart ('k') | dart/lib/compiler/implementation/tree/dartstring.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698