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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart

Issue 384093002: Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart b/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
index 2c992169b8f2aef58de3e2f64ade8fcfac90f026..64ae98686aa798848e87c9cf1c59ae72e2ac0a38 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
@@ -511,6 +511,7 @@ class JavaPatternMatcher {
JavaPatternMatcher(RegExp re, String input) {
_matches = re.allMatches(input).iterator;
}
+ bool matches() => find();
bool find() {
if (!_matches.moveNext()) {
return false;

Powered by Google App Engine
This is Rietveld 408576698