diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-29 19:54:07 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-29 19:54:07 +0000 |
commit | 9308bfb939cdb5736e6a5eaa6b0f10cecdd8d484 (patch) | |
tree | 77f710bbbd070b756e2b53e8d98449c61bc3118c /sources/scalac/symtab | |
parent | 8cf49a62840b8fe049f0363bb602c28f2ec19bf0 (diff) | |
download | scala-9308bfb939cdb5736e6a5eaa6b0f10cecdd8d484.tar.gz scala-9308bfb939cdb5736e6a5eaa6b0f10cecdd8d484.tar.bz2 scala-9308bfb939cdb5736e6a5eaa6b0f10cecdd8d484.zip |
- Removed method Type.expandModuleThis
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r-- | sources/scalac/symtab/Type.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java index 28da1d9596..a633c89c1d 100644 --- a/sources/scalac/symtab/Type.java +++ b/sources/scalac/symtab/Type.java @@ -652,20 +652,6 @@ public class Type implements Modifiers, Kinds, TypeTags, EntryTags { } } - /** If type is a this type of a module class, transform to singletype of - * module. - */ - public Type expandModuleThis() { - switch (this) { - case ThisType(Symbol sym): - if ((sym.flags & MODUL) != 0 && sym.module() != Symbol.NONE) { - return singleType( - sym.owner().thisType().expandModuleThis(), sym.module()); - } - } - return this; - } - // Tests -------------------------------------------------------------------- /** Is this type a this type or singleton type? |