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

Unified Diff: pkg/dartdoc/mirrors/dart2js_mirror.dart

Issue 10892031: Fix bad merge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/mirrors/dart2js_mirror.dart
diff --git a/pkg/dartdoc/mirrors/dart2js_mirror.dart b/pkg/dartdoc/mirrors/dart2js_mirror.dart
index 3e89bec54c9799b637987b04a757fc5099c40b29..152ca576652515a022839786869d5c5f75fef2c1 100644
--- a/pkg/dartdoc/mirrors/dart2js_mirror.dart
+++ b/pkg/dartdoc/mirrors/dart2js_mirror.dart
@@ -15,7 +15,6 @@
#import('../../../lib/compiler/implementation/util/util.dart');
#import('../../../lib/compiler/implementation/util/uri_extras.dart');
#import('../../../lib/compiler/implementation/dart2js.dart');
-#import('../../../lib/compiler/implementation/ssa/ssa.dart');
#import('mirrors.dart');
#import('util.dart');
#import('dart:io');
@@ -1235,19 +1234,6 @@ class Dart2JsMethodMirror extends Dart2JsElementMirror
_name = _name.substring(0, dollarPos);
// canonical name is TypeName.constructorName
_canonicalName = '$_name.$_constructorName';
- } else if (_name == 'negate') {
- _operatorName = _name;
- _name = 'operator';
- _kind = Dart2JsMethodKind.OPERATOR;
- // canonical name is 'operator operatorName'
- _canonicalName = 'operator $_operatorName';
- } else if (_name.startsWith('operator\$')) {
- String str = _name.substring(9);
- _name = 'operator';
- _kind = Dart2JsMethodKind.OPERATOR;
- _operatorName = _getOperatorFromOperatorName(str);
- // canonical name is 'operator operatorName'
- _canonicalName = 'operator $_operatorName';
} else {
// canonical name is TypeName
_canonicalName = _name;
@@ -1268,6 +1254,12 @@ class Dart2JsMethodMirror extends Dart2JsElementMirror
}
// canonical name is TypeName.constructorName
_canonicalName = '$_name.$_constructorName';
+ } else if (_name == 'negate') {
+ _operatorName = _name;
+ _name = 'operator';
+ _kind = Dart2JsMethodKind.OPERATOR;
+ // canonical name is 'operator operatorName'
+ _canonicalName = 'operator $_operatorName';
} else if (_name.startsWith('operator\$')) {
String str = _name.substring(9);
_name = 'operator';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698