summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2004-11-22 17:47:20 +0000
committerMartin Odersky <odersky@gmail.com>2004-11-22 17:47:20 +0000
commit4cc5d62ce1d99424c996966e98d69c4c0bdd073c (patch)
tree1ae641562c903c70f63b03f4d8b3ba77cfc19ef8 /sources/scalac/symtab
parent21b0b406b5340b8aed80bd73a3f33f4c5b73a782 (diff)
downloadscala-4cc5d62ce1d99424c996966e98d69c4c0bdd073c.tar.gz
scala-4cc5d62ce1d99424c996966e98d69c4c0bdd073c.tar.bz2
scala-4cc5d62ce1d99424c996966e98d69c4c0bdd073c.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r--sources/scalac/symtab/Definitions.java2
-rw-r--r--sources/scalac/symtab/Symbol.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/symtab/Definitions.java b/sources/scalac/symtab/Definitions.java
index 3a62282059..259e66a17d 100644
--- a/sources/scalac/symtab/Definitions.java
+++ b/sources/scalac/symtab/Definitions.java
@@ -506,7 +506,7 @@ public class Definitions {
public Symbol PREDEF_ARRAY() {
if (PREDEF_ARRAY == null)
- PREDEF_ARRAY = loadTerm(PREDEF, Names.Array);
+ PREDEF_ARRAY = PREDEF.lookup(Names.Array).firstAlternative();
return PREDEF_ARRAY;
}
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java
index f59d208629..5debfd11b7 100644
--- a/sources/scalac/symtab/Symbol.java
+++ b/sources/scalac/symtab/Symbol.java
@@ -1063,7 +1063,7 @@ public abstract class Symbol implements Modifiers, Kinds {
}
/** if type is a overloaded type, return first stable alternative
- * else return array symbol itself
+ * else return symbol itself
*/
public Symbol stableAlternative() {
switch (type()) {