| 1 |
error-depend-var.ck:4:1: error: calling 'foo()' at this point skips initialization of a needed variable: |
| 2 |
[4] foo(); |
| 3 |
^ |
| 4 |
error-depend-var.ck:7:10: error: ...(note: this skipped variable initialization is needed by 'fun void foo()') |
| 5 |
[7] 5 => int bar; |
| 6 |
^ |
| 7 |
error-depend-var.ck:16:17: error: ...(note: this is where the variable is used within 'fun void foo()' or its subsidiaries) |
| 8 |
[16] <<< "bar:", bar >>>; |
| 9 |
^ |
| 10 |
error-depend-var.ck: ...(hint: try calling 'foo()' after the variable initialization) |