diff options
author | Martin Odersky <odersky@gmail.com> | 2015-05-29 14:14:28 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-05-29 15:45:19 +0200 |
commit | 7bc7c9ba5e04b9a17ed7d548f3ea8caf7bd8c4a7 (patch) | |
tree | 05f92cdf5c9b3d42d93623150ddecc67d40ea10d /scripts | |
parent | ef274600378cc55b78ad62ac9afc8ce9a21efb89 (diff) | |
download | dotty-7bc7c9ba5e04b9a17ed7d548f3ea8caf7bd8c4a7.tar.gz dotty-7bc7c9ba5e04b9a17ed7d548f3ea8caf7bd8c4a7.tar.bz2 dotty-7bc7c9ba5e04b9a17ed7d548f3ea8caf7bd8c4a7.zip |
Fix compilation failure by refining adaptation of constants
Constants that are adapted to a different supertype need to do this
explicitly (not just by changing the type). Otherwise tree checkers
will compute the original type and fail.
This caused a test failure in pos/harmonize. The mystery is why this
was not caught in the checkin tests.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions