aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-02-12 20:48:16 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-18 11:11:06 +0100
commitb1cded37763b0b96b9a8881c2d06f85b4d49884e (patch)
treec3a0b3cf63b39209260223073c5e979e33a703fd /build.sbt
parent85e992293e3c48074da0bc0a00b11097d3ac9d25 (diff)
downloaddotty-b1cded37763b0b96b9a8881c2d06f85b4d49884e.tar.gz
dotty-b1cded37763b0b96b9a8881c2d06f85b4d49884e.tar.bz2
dotty-b1cded37763b0b96b9a8881c2d06f85b4d49884e.zip
Change scheme of translating array creations new Array(...)
The previous scheme generated too many newGenericArray expressions because at the time newArray was called, the type arguments were not yet determined. Furthermore, the type variables somehow did not have the right positions, which caused them not to be interpolated and led to orphan PolyParams. The new scheme converts the expression when the length parameter has been supplied and it fully determines the array type before converting.
Diffstat (limited to 'build.sbt')
0 files changed, 0 insertions, 0 deletions