File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
-- Error: tests/init/neg/closureLeak.scala:11:14 -----------------------------------------------------------------------
2
2
11 | l.foreach(a => a.addX(this)) // error
3
3
| ^^^^^^^^^^^^^^^^^
4
- | Cannot prove that the value is fully-initialized. May only use initialized value as arguments.
4
+ | Cannot prove that the value is fully-initialized. Only initialized values may be used as arguments.
5
5
|
6
- | The unsafe promotion may cause the following problem:
7
- | Cannot prove that the value is fully initialized. May only use initialized value as arguments.
6
+ | The unsafe promotion may cause the following problem:
7
+ | Cannot prove that the value is fully initialized. Only initialized values may be used as arguments.
Original file line number Diff line number Diff line change 1
1
-- Error: tests/init/neg/default-this.scala:9:8 ------------------------------------------------------------------------
2
2
9 | compare() // error
3
3
| ^^^^^^^
4
- | Cannot prove that the value is fully initialized. May only use initialized value as arguments. Calling trace:
5
- | -> val result = updateThenCompare(5) [ default-this.scala:11 ]
4
+ |Cannot prove that the value is fully initialized. Only initialized values may be used as arguments. Calling trace:
5
+ | -> val result = updateThenCompare(5) [ default-this.scala:11 ]
You can’t perform that action at this time.
0 commit comments