summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-08-08 16:01:46 +0000
committerpaltherr <paltherr@epfl.ch>2003-08-08 16:01:46 +0000
commit5a3dead77fc2af616d1949e885cdfd1c8f4a4281 (patch)
treee3b61087eed74226be09ff3fcab953a7bfec92f1 /sources/scalac/symtab
parentc513a75367632aa79463218ed63c22dfa957b4de (diff)
downloadscala-5a3dead77fc2af616d1949e885cdfd1c8f4a4281.tar.gz
scala-5a3dead77fc2af616d1949e885cdfd1c8f4a4281.tar.bz2
scala-5a3dead77fc2af616d1949e885cdfd1c8f4a4281.zip
- Replaced NOPOS by FIRSTPOS or other non zero ...
- Replaced NOPOS by FIRSTPOS or other non zero position
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r--sources/scalac/symtab/Type.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java
index 10578d02de..b23b9448f9 100644
--- a/sources/scalac/symtab/Type.java
+++ b/sources/scalac/symtab/Type.java
@@ -157,7 +157,7 @@ public class Type implements Modifiers, Kinds, TypeTags, EntryTags {
public static CompoundType compoundType(Type[] parts, Scope members) {
ExtCompoundType res = new ExtCompoundType(parts, members);
res.tsym = new ClassSymbol(
- Position.NOPOS, Names.COMPOUND_NAME.toTypeName(), Symbol.NONE,
+ Position.FIRSTPOS, Names.COMPOUND_NAME.toTypeName(), Symbol.NONE,
SYNTHETIC | ABSTRACTCLASS);
res.tsym.setInfo(res);
res.tsym.primaryConstructor().setInfo(