| 1 |
error-depend-class-array.ck:5:1: error: 'Foo' instantiation at this point skips initialization of a needed variable: |
| 2 |
[5] Foo foo[2]; |
| 3 |
^ |
| 4 |
error-depend-class-array.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-class-array.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-class-array.ck: ...(hint: try instantiating 'Foo' after the variable initialization) |