summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2014-09-11 10:22:37 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2014-09-11 10:24:14 +0200
commit9132efa4a8511e267c808c95df4d2e3de68277e6 (patch)
tree1b3bd243bcb19ed41609e67ce0f6d94ee2704a78 /test/files/run
parent59070cc385560b48267cbc77e872027dd8304c05 (diff)
downloadscala-9132efa4a8511e267c808c95df4d2e3de68277e6.tar.gz
scala-9132efa4a8511e267c808c95df4d2e3de68277e6.tar.bz2
scala-9132efa4a8511e267c808c95df4d2e3de68277e6.zip
Address review feedback.
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/nothingTypeDce.scala4
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()
}