From 566fefb05abe31e90f765d1fb0a89b264302d9ce Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 11 Jan 2011 20:08:47 +0000 Subject: In r22807 an optimization was added to remove B... In r22807 an optimization was added to remove Box(Unbox(x)) combinations. It turns out that without this in place, an expression like "x".asInstanceOf[Int] will no longer throw an exception. Refined the optimization. Closes #4148, review by dragos. --- test/files/run/bug4148.check | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/run/bug4148.check (limited to 'test/files/run/bug4148.check') diff --git a/test/files/run/bug4148.check b/test/files/run/bug4148.check new file mode 100644 index 0000000000..544b0d19d1 --- /dev/null +++ b/test/files/run/bug4148.check @@ -0,0 +1,3 @@ +cce1 +5 +100 -- cgit v1.2.3