diff options
author | Martin Odersky <odersky@gmail.com> | 2014-03-28 13:00:28 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-31 14:52:08 +0200 |
commit | ad437d8fa9bd4127889569952ae6fdb048d2b1ec (patch) | |
tree | 319a0b0566a6f43733aea0d2d52898d76015382a /tests/untried | |
parent | c62d021cdcc0a3dda6daffd74daf8eaf48aeae88 (diff) | |
download | dotty-ad437d8fa9bd4127889569952ae6fdb048d2b1ec.tar.gz dotty-ad437d8fa9bd4127889569952ae6fdb048d2b1ec.tar.bz2 dotty-ad437d8fa9bd4127889569952ae6fdb048d2b1ec.zip |
Make primitive conversions work also for non-numeric types
If the arguments to a primitive conversion are not both numbers, the
conversion will either return the argument itself, or throw a ClassCastException.
Diffstat (limited to 'tests/untried')
0 files changed, 0 insertions, 0 deletions