aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1540.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i1540.scala')
-rw-r--r--tests/pos/i1540.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pos/i1540.scala b/tests/pos/i1540.scala
index 7aa24f459..0fdfea235 100644
--- a/tests/pos/i1540.scala
+++ b/tests/pos/i1540.scala
@@ -1,6 +1,6 @@
class Casey1(val a: Int) {
- def isDefined: Boolean = true
- def isDefined(x: Int): Boolean = ???
+ def isEmpty: Boolean = false
+ def isEmpty(x: Int): Boolean = ???
def get: Int = a
def get(x: Int): String = ???
}