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