| 1 |
error-depend-new.ck:5:5: error: 'Foo' instantiation at this point skips initialization of a needed variable: |
| 2 |
[5] new Foo @=> Foo @ foo; |
| 3 |
^ |
| 4 |
error-depend-new.ck:8:19: error: ...(note: this skipped variable initialization is needed by class 'Foo') |
| 5 |
[8] [1, 2, 3] @=> int array[]; |
| 6 |
^ |
| 7 |
error-depend-new.ck:14:9: error: ...(note: this is where the variable is used within class 'Foo') |
| 8 |
[14] <<< array[0], array[1], array[2] >>>; |
| 9 |
^ |
| 10 |
error-depend-new.ck: ...(hint: try instantiating 'Foo' after the variable initialization) |