diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-18 23:41:45 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-18 23:41:45 +0000 |
commit | c94a990938f03b4075f976ce14958a20c4733124 (patch) | |
tree | bded05d4442122009d78b687c35d81b4c6741078 /sources/scalac/typechecker/RefCheck.java | |
parent | 8517e8ce453d6e394aa76e1a5cb5e2d4d36b1b53 (diff) | |
download | scala-c94a990938f03b4075f976ce14958a20c4733124.tar.gz scala-c94a990938f03b4075f976ce14958a20c4733124.tar.bz2 scala-c94a990938f03b4075f976ce14958a20c4733124.zip |
- Removed method Name.append
Diffstat (limited to 'sources/scalac/typechecker/RefCheck.java')
-rw-r--r-- | sources/scalac/typechecker/RefCheck.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/typechecker/RefCheck.java b/sources/scalac/typechecker/RefCheck.java index 0c17fc4a89..b77d96563e 100644 --- a/sources/scalac/typechecker/RefCheck.java +++ b/sources/scalac/typechecker/RefCheck.java @@ -554,7 +554,7 @@ public class RefCheck extends Transformer implements Modifiers, Kinds { Tree ddef = gen.DefDef(sym, body); // def m_eq(m: T): Unit = { m$ = m } - Name m_eqname = name.append(Names._EQ); + Name m_eqname = Name.fromString(name.toString() + Names._EQ); Symbol m_eq = sym.owner().newMethodOrFunction( tree.pos, PRIVATE | SYNTHETIC, m_eqname); Symbol m_eqarg = m_eq.newVParam(tree.pos, SYNTHETIC, name, sym.type()); |