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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart

Issue 17317002: Convert isX() methods to isX getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/analyzer_experimental/lib/src/generated/utilities_dart.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart b/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart
index 58bbb66c4eab71db09dd6b804a18aa6c18122766..0a331cbc5ea503c9243bbc226b6f24f382373012 100644
--- a/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart
@@ -36,7 +36,7 @@ class ParameterKind implements Comparable<ParameterKind> {
* Return `true` if this is an optional parameter.
* @return `true` if this is an optional parameter
*/
- bool isOptional() => _isOptional2;
+ bool get isOptional => _isOptional2;
int compareTo(ParameterKind other) => ordinal - other.ordinal;
int get hashCode => ordinal;
String toString() => name;
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/source_io.dart ('k') | pkg/analyzer_experimental/test/generated/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698