diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-09 17:02:39 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-09 17:02:39 +0000 |
commit | 6157d537870e859fc2833eb53d62a5f0b0884b87 (patch) | |
tree | c667f7813651f1a5a45d5f19e4f8c5f915623248 /sources | |
parent | 3a273d52ed33784d3c06476ca4603b426b8a51df (diff) | |
download | scala-6157d537870e859fc2833eb53d62a5f0b0884b87.tar.gz scala-6157d537870e859fc2833eb53d62a5f0b0884b87.tar.bz2 scala-6157d537870e859fc2833eb53d62a5f0b0884b87.zip |
- Changed display of is an as operations
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/atree/ATreePrinter.java | 3 |
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(); |