diff options
author | paltherr <paltherr@epfl.ch> | 2004-04-04 18:37:59 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-04-04 18:37:59 +0000 |
commit | 6b35acd807e982b5296eb05898561ea8664bf2a3 (patch) | |
tree | 4c39fe37f0dcd827eb7582eb0b4b564074b20acc /sources/scalac/symtab/classfile | |
parent | 8127c2eeeff7ee3a3f65a205020d50c4c5cdba16 (diff) | |
download | scala-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.java | 2 |
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; } |