| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 | 3 |
| 4 library engine.resolver; | 4 library engine.resolver; |
| 5 | 5 |
| 6 import 'dart:collection'; | 6 import 'dart:collection'; |
| 7 import 'dart:uri' show Uri; | 7 import 'dart:uri' show Uri; |
| 8 import 'java_core.dart'; | 8 import 'java_core.dart'; |
| 9 import 'java_engine.dart'; | 9 import 'java_engine.dart'; |
| 10 import 'instrumentation.dart'; | 10 import 'instrumentation.dart'; |
| (...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1987 return null; | 1987 return null; |
| 1988 } | 1988 } |
| 1989 } | 1989 } |
| 1990 if (memberElement == null) { | 1990 if (memberElement == null) { |
| 1991 if (!doesClassDeclareNoSuchMethod(targetType.element)) { | 1991 if (!doesClassDeclareNoSuchMethod(targetType.element)) { |
| 1992 if (identifier.inSetterContext()) { | 1992 if (identifier.inSetterContext()) { |
| 1993 _resolver.reportError(StaticWarningCode.UNDEFINED_SETTER, identifier,
[identifier.name, targetType.name]); | 1993 _resolver.reportError(StaticWarningCode.UNDEFINED_SETTER, identifier,
[identifier.name, targetType.name]); |
| 1994 } else if (identifier.inGetterContext()) { | 1994 } else if (identifier.inGetterContext()) { |
| 1995 _resolver.reportError(StaticWarningCode.UNDEFINED_GETTER, identifier,
[identifier.name, targetType.name]); | 1995 _resolver.reportError(StaticWarningCode.UNDEFINED_GETTER, identifier,
[identifier.name, targetType.name]); |
| 1996 } else { | 1996 } else { |
| 1997 System.out.println("two ${identifier.name}"); | 1997 print("two ${identifier.name}"); |
| 1998 _resolver.reportError(StaticWarningCode.UNDEFINED_IDENTIFIER, identifi
er, [identifier.name]); | 1998 _resolver.reportError(StaticWarningCode.UNDEFINED_IDENTIFIER, identifi
er, [identifier.name]); |
| 1999 } | 1999 } |
| 2000 } | 2000 } |
| 2001 } else { | 2001 } else { |
| 2002 recordResolution(identifier, memberElement); | 2002 recordResolution(identifier, memberElement); |
| 2003 } | 2003 } |
| 2004 return null; | 2004 return null; |
| 2005 } | 2005 } |
| 2006 Object visitRedirectingConstructorInvocation(RedirectingConstructorInvocation
node) { | 2006 Object visitRedirectingConstructorInvocation(RedirectingConstructorInvocation
node) { |
| 2007 ClassElement enclosingClass2 = _resolver.enclosingClass; | 2007 ClassElement enclosingClass2 = _resolver.enclosingClass; |
| (...skipping 6403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8411 this._type = type; | 8411 this._type = type; |
| 8412 this._message = message; | 8412 this._message = message; |
| 8413 } | 8413 } |
| 8414 ErrorSeverity get errorSeverity => _type.severity; | 8414 ErrorSeverity get errorSeverity => _type.severity; |
| 8415 String get message => _message; | 8415 String get message => _message; |
| 8416 ErrorType get type => _type; | 8416 ErrorType get type => _type; |
| 8417 bool needsRecompilation() => true; | 8417 bool needsRecompilation() => true; |
| 8418 int compareTo(ResolverErrorCode other) => __ordinal - other.__ordinal; | 8418 int compareTo(ResolverErrorCode other) => __ordinal - other.__ordinal; |
| 8419 String toString() => __name; | 8419 String toString() => __name; |
| 8420 } | 8420 } |
| OLD | NEW |