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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Elements.java

Issue 11305007: Getter with parameters is error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: compiler/java/com/google/dart/compiler/resolver/Elements.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Elements.java b/compiler/java/com/google/dart/compiler/resolver/Elements.java
index de23bb95a57a417b0f287b4952445db006e78f33..01ef8d560cb57458cade19fd36eb7a9183e27e38 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
@@ -727,6 +727,10 @@ static FieldElementImplementation fieldFromNode(DartField node,
|| Elements.isLibrarySource(source, "/core/core.dart")
|| Elements.isLibrarySource(source, "/core/coreimpl.dart");
}
+
+ public static boolean isHtmlLibrarySource(Source source) {
+ return Elements.isLibrarySource(source, "/html/dartium/html_dartium.dart");
+ }
/**
* @return the {@link LibraryElement} which declares given {@link Element}.

Powered by Google App Engine
This is Rietveld 408576698