diff options
author | James Iry <jamesiry@gmail.com> | 2013-02-07 16:48:13 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-02-07 16:48:13 -0800 |
commit | bbac0c06020db47dc46e3df7eb083b4f9f70a260 (patch) | |
tree | 54bec87fbdb3b7d6a0d1ac2e7e9593a35d7c35e8 /src/compiler | |
parent | 427e1864aec01b3b23ddc133c2090eec5c201be0 (diff) | |
parent | a53e1508660f849e86e34808e5d4230b078f7a3e (diff) | |
download | scala-bbac0c06020db47dc46e3df7eb083b4f9f70a260.tar.gz scala-bbac0c06020db47dc46e3df7eb083b4f9f70a260.tar.bz2 scala-bbac0c06020db47dc46e3df7eb083b4f9f70a260.zip |
Merge pull request #2089 from VladUreche/issue/7100
SI-7100 Fixed infinite recursion in duplicators
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Duplicators.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Duplicators.scala b/src/compiler/scala/tools/nsc/typechecker/Duplicators.scala index 0b46582cbf..f6142a81be 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Duplicators.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Duplicators.scala @@ -388,7 +388,7 @@ abstract class Duplicators extends Analyzer { cases } - super.typedPos(tree.pos, mode, pt)(Match(scrut, cases1)) + super.typed(atPos(tree.pos)(Match(scrut, cases1)), mode, pt) case EmptyTree => // no need to do anything, in particular, don't set the type to null, EmptyTree.tpe_= asserts |