| Index: compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java b/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| index 74f5475e144b85ce9fa2a13cc826608c4e420619..b431b7c60af0334e9340d0a328995e01ecee5a5c 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
|
| @@ -201,10 +201,10 @@ public class ResolutionContext implements ResolutionErrorListener {
|
| isFactory,
|
| errorCode);
|
| case NONE:
|
| - if (identifier.toString().equals("void")) {
|
| + if (Elements.isIdentifierName(identifier, "void")) {
|
| return typeProvider.getVoidType();
|
| }
|
| - if (identifier.toString().equals("Dynamic")) {
|
| + if (Elements.isIdentifierName(identifier, "Dynamic")) {
|
| return typeProvider.getDynamicType();
|
| }
|
| break;
|
|
|