From 9132efa4a8511e267c808c95df4d2e3de68277e6 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Thu, 11 Sep 2014 10:22:37 +0200 Subject: Address review feedback. --- test/files/run/nothingTypeDce.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/files/run/nothingTypeDce.scala') diff --git a/test/files/run/nothingTypeDce.scala b/test/files/run/nothingTypeDce.scala index 4b9d934eac..5f3692fd33 100644 --- a/test/files/run/nothingTypeDce.scala +++ b/test/files/run/nothingTypeDce.scala @@ -26,7 +26,7 @@ class C { } def f5(x: Boolean) = { - // stack heights need to be the smae. ??? looks to the jvm like returning a value of + // stack heights need to be the same. ??? looks to the jvm like returning a value of // type Nothing$, need to drop or throw it. println( if (x) { ???; 10 } @@ -57,5 +57,7 @@ class C { } object Test extends App { + // creating an instance is enough to trigger bytecode verification for all methods, + // no need to invoke the methods. new C() } -- cgit v1.2.3