aboutsummaryrefslogtreecommitdiff
path: root/tests/untried
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-28 13:00:28 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-31 14:52:08 +0200
commitad437d8fa9bd4127889569952ae6fdb048d2b1ec (patch)
tree319a0b0566a6f43733aea0d2d52898d76015382a /tests/untried
parentc62d021cdcc0a3dda6daffd74daf8eaf48aeae88 (diff)
downloaddotty-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