diff options
author | paltherr <paltherr@epfl.ch> | 2003-12-05 15:26:23 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-12-05 15:26:23 +0000 |
commit | 3edd611a2ce5fa908f0d58d745026af6348e9fed (patch) | |
tree | 14c58771ff4be3a75a886acb686f39b86dfd721a /sources/scalac/symtab/Type.java | |
parent | 178ae738887b64814aad3d13a2719926c3d83a71 (diff) | |
download | scala-3edd611a2ce5fa908f0d58d745026af6348e9fed.tar.gz scala-3edd611a2ce5fa908f0d58d745026af6348e9fed.tar.bz2 scala-3edd611a2ce5fa908f0d58d745026af6348e9fed.zip |
- Removed subtyping of value types
Diffstat (limited to 'sources/scalac/symtab/Type.java')
-rw-r--r-- | sources/scalac/symtab/Type.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java index 8b858cbb96..021479e116 100644 --- a/sources/scalac/symtab/Type.java +++ b/sources/scalac/symtab/Type.java @@ -1896,15 +1896,7 @@ public class Type implements Modifiers, Kinds, TypeTags, EntryTags { case UnboxedType(int tag1): switch (this) { case UnboxedType(int tag): - return tag == tag1 || - (tag < tag1 && tag1 <= DOUBLE && tag1 != CHAR); - } - break; - - case UnboxedArrayType(UnboxedType(int tag1)): - switch (this) { - case UnboxedArrayType(UnboxedType(int tag)): - return tag1 == tag; + return tag == tag1; } break; |