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

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: 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 54e71ad4d3a285f4f69a3f913b27419a2191b4d3..d78c45db602731baeb8a8853b7844a868755d075 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 +:].
@@ -573,12 +573,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