Skip to content

Commit f5369fe

Browse files
EnzeXingEnzeXing
EnzeXing
authored and
EnzeXing
committed
updated-default-this
1 parent 75c9335 commit f5369fe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/init/neg/default-this.check

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
iiii
1+
-- Error: tests/init/neg/default-this.scala:9:8 ------------------------------------------------------------------------
2+
9 | compare() // error
3+
| ^^^^^^^
4+
|Promote the value under initialization to fully-initialized. May only use initialized value as arguments Calling trace:
5+
| -> val result = updateThenCompare(5) [ default-this.scala:11 ]

0 commit comments

Comments
 (0)