diff options
author | James Iry <jamesiry@gmail.com> | 2013-02-26 17:22:35 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-02-26 20:20:03 -0800 |
commit | 04b147e4a0c226526d3192b68f8efa8953b531ea (patch) | |
tree | d710da2a41a065215610e838faa85f2d933071b9 /test/ant/test-basic/src | |
parent | 208d6ad0bbbb4f7b5021f96bce14606869a6c899 (diff) | |
download | scala-04b147e4a0c226526d3192b68f8efa8953b531ea.tar.gz scala-04b147e4a0c226526d3192b68f8efa8953b531ea.tar.bz2 scala-04b147e4a0c226526d3192b68f8efa8953b531ea.zip |
SI-7159 Prepare to remove erroneous INT <:< LONG in TypeKinds
In preparation for dealing with a problem in TypeKinds, this commit
does some cleanup of code related to doing coercions.
* Comments are added to clarify.
* A println when converting between BOOL and anything else is removed
and the code is allowed to flow through to an assertion.
* Assertions are refactored to use string interpolation.
* A few pattern matches were reformulated to equivalent variants
In addition, a test is created for SI-107, the bug that necessitated
the special case in GenICode#adapt for LONG coercion
Diffstat (limited to 'test/ant/test-basic/src')
0 files changed, 0 insertions, 0 deletions