diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2010-05-04 17:07:41 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2010-05-04 17:07:41 +0000 |
commit | 19ec1c5b7e6170a4b987ddfd9479e9560bdcec97 (patch) | |
tree | 56821111890b1bf0302ec070342d76e301b8ebda /src/compiler | |
parent | 2c45d41b37176fdf140964e88ee49f3af55c37f9 (diff) | |
download | scala-19ec1c5b7e6170a4b987ddfd9479e9560bdcec97.tar.gz scala-19ec1c5b7e6170a4b987ddfd9479e9560bdcec97.tar.bz2 scala-19ec1c5b7e6170a4b987ddfd9479e9560bdcec97.zip |
Fixed broken commit. no review.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala b/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala index fb3eba823b..94ae6be3e4 100644 --- a/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala +++ b/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala @@ -1233,6 +1233,9 @@ abstract class SpecializeTypes extends InfoTransform with TypingTransformers { else sym1 eq sym2 } + // initialize the current owner to the enclosing class + currentOwner = targetClass + /** All private members that are referenced are made protected, * in order to be accessible from specialized subclasses. */ |