aboutsummaryrefslogtreecommitdiff
path: root/src/dotty
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-04-05 12:11:28 +0200
committerMartin Odersky <odersky@gmail.com>2013-04-05 12:11:28 +0200
commit4e1fd1a776f71086371f7efa0e95bcef26098bad (patch)
tree04affd33c008299ed1be8285da146e23c244282e /src/dotty
parent485444245bfaf64684067e1e8a2e14787d52b974 (diff)
downloaddotty-4e1fd1a776f71086371f7efa0e95bcef26098bad.tar.gz
dotty-4e1fd1a776f71086371f7efa0e95bcef26098bad.tar.bz2
dotty-4e1fd1a776f71086371f7efa0e95bcef26098bad.zip
Fix to pareamSignatire for arrays.
Diffstat (limited to 'src/dotty')
-rw-r--r--src/dotty/tools/dotc/core/transform/Erasure.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/transform/Erasure.scala b/src/dotty/tools/dotc/core/transform/Erasure.scala
index 330442408..c55719995 100644
--- a/src/dotty/tools/dotc/core/transform/Erasure.scala
+++ b/src/dotty/tools/dotc/core/transform/Erasure.scala
@@ -112,7 +112,7 @@ object Erasure {
if (parent.dealias.typeSymbol == defn.ArrayClass)
eraseArray(tp) match {
case tp1: RefinedType if tp1.parent.dealias.typeSymbol == defn.ArrayClass =>
- paramSignature(tp1.parent) ++ "[]"
+ paramSignature(tp1.refinedInfo) ++ "[]"
case tp1 =>
paramSignature(tp1)
}