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

Unified Diff: dart/lib/compiler/implementation/compile_time_constants.dart

Issue 10880040: Support abstract getters without parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update language.status 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
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/compile_time_constants.dart
diff --git a/dart/lib/compiler/implementation/compile_time_constants.dart b/dart/lib/compiler/implementation/compile_time_constants.dart
index c0e428ab1e7df953dc6841fe307e89742edf20fc..32064cbdaceef160216a3f87288de4d6c94c75c1 100644
--- a/dart/lib/compiler/implementation/compile_time_constants.dart
+++ b/dart/lib/compiler/implementation/compile_time_constants.dart
@@ -34,7 +34,7 @@ class Constant implements Hashable {
}
class PrimitiveConstant extends Constant {
- abstract get value();
+ abstract get value;
const PrimitiveConstant();
bool isPrimitive() => true;
@@ -74,7 +74,7 @@ class NullConstant extends PrimitiveConstant {
}
class NumConstant extends PrimitiveConstant {
- abstract num get value();
+ abstract num get value;
const NumConstant();
bool isNum() => true;
}
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698