diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-04-17 21:55:25 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-01 13:27:42 +0200 |
commit | 449055db733a78a44b15addc3ddcbb51bfdc3aa4 (patch) | |
tree | a8589aa345f2512ca060bf9b1df1b39eecbd02e0 /bin | |
parent | e5b02a88e66af0d5e9c37a881ac0237bf1d38387 (diff) | |
download | dotty-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 'bin')
0 files changed, 0 insertions, 0 deletions