diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/nothingTypeDce.scala | 4 |
1 files changed, 3 insertions, 1 deletions
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() } |