diff options
author | Martin Odersky <odersky@gmail.com> | 2005-11-10 15:06:47 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2005-11-10 15:06:47 +0000 |
commit | 222cbc2dea024584855bf3b5f8c2a5c0ba07cfc3 (patch) | |
tree | fc15707256c403db6d21acfd6d2b8cc724955ab8 /sources/scala/tools/nsc/typechecker/Typers.scala | |
parent | d888c78872d9170ee5627f8f435c261ac6df70e5 (diff) | |
download | scala-222cbc2dea024584855bf3b5f8c2a5c0ba07cfc3.tar.gz scala-222cbc2dea024584855bf3b5f8c2a5c0ba07cfc3.tar.bz2 scala-222cbc2dea024584855bf3b5f8c2a5c0ba07cfc3.zip |
*** empty log message ***
Diffstat (limited to 'sources/scala/tools/nsc/typechecker/Typers.scala')
-rwxr-xr-x | sources/scala/tools/nsc/typechecker/Typers.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/scala/tools/nsc/typechecker/Typers.scala b/sources/scala/tools/nsc/typechecker/Typers.scala index 520272920c..c28cd4a3c7 100755 --- a/sources/scala/tools/nsc/typechecker/Typers.scala +++ b/sources/scala/tools/nsc/typechecker/Typers.scala @@ -509,7 +509,8 @@ import collection.mutable.HashMap; val tpt1 = checkNoEscaping.privates(clazz.thisSym, typedType(cdef.tpt)); val impl1 = newTyper(context.make(cdef.impl, clazz, new Scope())) .typedTemplate(cdef.impl, parentTypes(cdef.impl)); - copy.ClassDef(cdef, cdef.mods, cdef.name, tparams1, tpt1, addSyntheticMethods(impl1, clazz)) + val impl2 = addSyntheticMethods(impl1, clazz); + copy.ClassDef(cdef, cdef.mods, cdef.name, tparams1, tpt1, impl2) setType NoType } |