aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-04-17 21:55:25 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-01 13:27:42 +0200
commit449055db733a78a44b15addc3ddcbb51bfdc3aa4 (patch)
treea8589aa345f2512ca060bf9b1df1b39eecbd02e0 /test
parente5b02a88e66af0d5e9c37a881ac0237bf1d38387 (diff)
downloaddotty-449055db733a78a44b15addc3ddcbb51bfdc3aa4.tar.gz
dotty-449055db733a78a44b15addc3ddcbb51bfdc3aa4.tar.bz2
dotty-449055db733a78a44b15addc3ddcbb51bfdc3aa4.zip
Fix companionClass not working after Erasure for value classes
For a module class V$, the synthesized companion class method looks like: val companion$class: V If V is a value class, after erasure it will look like: val companion$class: ErasedValueType(V, ...) This will break SymDenotation#companionClass which relies on the type of companion$class. The solution is to not semi-erase the type of companion$class.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions