summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/classfile
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-04-04 18:37:59 +0000
committerpaltherr <paltherr@epfl.ch>2004-04-04 18:37:59 +0000
commit6b35acd807e982b5296eb05898561ea8664bf2a3 (patch)
tree4c39fe37f0dcd827eb7582eb0b4b564074b20acc /sources/scalac/symtab/classfile
parent8127c2eeeff7ee3a3f65a205020d50c4c5cdba16 (diff)
downloadscala-6b35acd807e982b5296eb05898561ea8664bf2a3.tar.gz
scala-6b35acd807e982b5296eb05898561ea8664bf2a3.tar.bz2
scala-6b35acd807e982b5296eb05898561ea8664bf2a3.zip
- Added method Type.isError
Diffstat (limited to 'sources/scalac/symtab/classfile')
-rw-r--r--sources/scalac/symtab/classfile/CLRClassParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/classfile/CLRClassParser.java b/sources/scalac/symtab/classfile/CLRClassParser.java
index 8ac897cca5..0ec6df58a4 100644
--- a/sources/scalac/symtab/classfile/CLRClassParser.java
+++ b/sources/scalac/symtab/classfile/CLRClassParser.java
@@ -275,7 +275,7 @@ public class CLRClassParser extends SymbolLoader {
assert type != null;
scalac.symtab.Type res =
make.classType(type.FullName.replace('+', '.'));
- if (res == scalac.symtab.Type.ErrorType)
+ if (res.isError())
global.error("unknown class reference " + type.FullName);
return res;
}