summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources/scalac/atree/ATreePrinter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/scalac/atree/ATreePrinter.java b/sources/scalac/atree/ATreePrinter.java
index 85e4269280..21114899d1 100644
--- a/sources/scalac/atree/ATreePrinter.java
+++ b/sources/scalac/atree/ATreePrinter.java
@@ -376,8 +376,7 @@ public class ATreePrinter {
print(')');
return this;
case IsAs(ACode value, Type type, boolean cast):
- printCode(value).print('.');
- print(cast ? "asInstanceOf" : "isInstanceOf");
+ printCode(value).print('.').print(cast ? "as" : "is");
return print('[').printType(type).print(']');
case If(ACode test, ACode success, ACode failure):
print("if").space().print('(').printCode(test).print(')').lbrace();