summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/patmat_opt_ignore_underscore/Analyzed_1.scala1
-rw-r--r--test/files/jvm/patmat_opt_no_nullcheck/Analyzed_1.scala1
-rw-r--r--test/files/jvm/patmat_opt_primitive_typetest/Analyzed_1.scala1
3 files changed, 0 insertions, 3 deletions
diff --git a/test/files/jvm/patmat_opt_ignore_underscore/Analyzed_1.scala b/test/files/jvm/patmat_opt_ignore_underscore/Analyzed_1.scala
index ac59e41ba7..fa3639380d 100644
--- a/test/files/jvm/patmat_opt_ignore_underscore/Analyzed_1.scala
+++ b/test/files/jvm/patmat_opt_ignore_underscore/Analyzed_1.scala
@@ -20,7 +20,6 @@ class SameBytecode {
val x1 = Foo(1, "a")
if (x1.ne(null)) {
if (x1.x.isInstanceOf[String]) {
- val x3 = x1.x.asInstanceOf[String]
return x1.y
}
}
diff --git a/test/files/jvm/patmat_opt_no_nullcheck/Analyzed_1.scala b/test/files/jvm/patmat_opt_no_nullcheck/Analyzed_1.scala
index 1594eb523c..3a594c401e 100644
--- a/test/files/jvm/patmat_opt_no_nullcheck/Analyzed_1.scala
+++ b/test/files/jvm/patmat_opt_no_nullcheck/Analyzed_1.scala
@@ -14,7 +14,6 @@ class SameBytecode {
if (x1.isInstanceOf[Foo]) {
val x3 = x1.asInstanceOf[Foo]
if (x3.x.isInstanceOf[String]) {
- val x4 = x3.x.asInstanceOf[String]
val x = ()
return
}
diff --git a/test/files/jvm/patmat_opt_primitive_typetest/Analyzed_1.scala b/test/files/jvm/patmat_opt_primitive_typetest/Analyzed_1.scala
index c5b8811449..e5db6c4dd0 100644
--- a/test/files/jvm/patmat_opt_primitive_typetest/Analyzed_1.scala
+++ b/test/files/jvm/patmat_opt_primitive_typetest/Analyzed_1.scala
@@ -16,7 +16,6 @@ class SameBytecode {
def b: String = {
val x1 = Foo(1, "a")
if (x1.ne(null)) {
- val x3 = x1.x
return x1.y
}