| Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| index e7fcd7e0121165f91292c78831ad05684479eb8e..e1790bf76d69ee56db249d91ed9a599397df3d32 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -2626,11 +2626,6 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
| operatorMethodName = "operator -binary";
|
| }
|
| Member member = itype.lookupMember(operatorMethodName);
|
| - // TODO(scheglov) remove after library migration from "operator negate()" to "operator -()"
|
| - if (member == null && operator == Token.SUB) {
|
| - operatorMethodName = "operator negate";
|
| - member = itype.lookupMember(operatorMethodName);
|
| - }
|
| if (member == null) {
|
| HasSourceInfo errorTarget = getOperatorHasSourceInfo(node);
|
| return typeError(errorTarget, TypeErrorCode.CANNOT_BE_RESOLVED,
|
| @@ -3419,10 +3414,6 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
| return false;
|
| }
|
| }
|
| - // TODO(scheglov) remove after http://code.google.com/p/dart/issues/detail?id=6306
|
| - if (Elements.isLibrarySource(errorTarget.getSourceInfo().getSource(), "/io/io_runtime.dart")) {
|
| - return true;
|
| - }
|
| // "method" should have at least same number of optional positional parameters as "superMethod"
|
| {
|
| LinkedHashMap<VariableElement, DartExpression> defMethod = getParametersDefaultsOptional(parameters);
|
|
|