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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart

Issue 18670003: Remove support for conflicting constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 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: sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart b/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart
index 4f9d8f1429311182d84c2a4a97942620d2c22edc..ebfa79717841f8d49ec66e8ed5c1bdc2ce10625e 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart
@@ -56,8 +56,8 @@ abstract class DeclarationMirror implements Mirror {
*
* The simple name is in most cases the declared single identifier name of
* the entity, such as 'method' for a method [:void method() {...}:]. For an
- * unnamed constructor for [:class Foo:] the simple name is 'Foo'. For a
- * constructor for [:class Foo:] named 'named' the simple name is 'Foo.named'.
+ * unnamed constructor for [:class Foo:] the simple name is ''. For a
+ * constructor for [:class Foo:] named 'named' the simple name is 'named'.
* For a property [:foo:] the simple name of the getter method is 'foo' and
* the simple name of the setter is 'foo='. For operators the simple name is
* the operator itself, for example '+' for [:operator +:].
@@ -591,12 +591,6 @@ abstract class MethodMirror implements MemberMirror {
bool get isFactoryConstructor;
/**
- * Returns the constructor name for named constructors and factory methods,
- * e.g. [:'bar':] for constructor [:Foo.bar:] of type [:Foo:].
- */
- String get constructorName;
-
- /**
* Is [:true:] if this method is a getter method.
*/
bool get isGetter;

Powered by Google App Engine
This is Rietveld 408576698