summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-12-10 00:49:23 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-12-13 00:00:35 +0100
commitdfa4e23bf8af721a4361567aef9aed672e39d4f8 (patch)
treec577526cd4462acd360abcc27add9864d12f781c /test
parenta0cd0f81be9ab9ffdb1ecd09aebf43f4d7e738a8 (diff)
downloadscala-dfa4e23bf8af721a4361567aef9aed672e39d4f8.tar.gz
scala-dfa4e23bf8af721a4361567aef9aed672e39d4f8.tar.bz2
scala-dfa4e23bf8af721a4361567aef9aed672e39d4f8.zip
simplifies checkBounds
This patch is an isomorphic transformation of checkBounds, which avoids doing any checks altogether if the scrutinee is already erroneous. Inspection of checkKindBounds and isWithinBounds called from checkBounds suggests that they don't perform side effects which can't be omitted.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions