| 1 |
// verify that dependency analysis properly is not producing |
| 2 |
// compiler error across files | added 1.5.1.1 |
| 3 |
// |
| 4 |
// FYI incorrect error reporting in 1.5.1.0 |
| 5 |
// 191-c-User.ck:4:16: error: calling 'make()' at this point skips initialization of a needed variable: |
| 6 |
// [4] FooFactory.make() @=> Foo foo; |
| 7 |
// ^ |
| 8 |
// |
| 9 |
// (this is followed by sometimes gibberish file locations |
| 10 |
// when it is using a within-file "where" position that was |
| 11 |
// intended to operate beyond files) |
| 12 |
// |
| 13 |
// 191-c-User.ck:6:10: error: ...(note: this skipped variable initialization is needed by 'fun FooChild FooFactory.make()') |
| 14 |
// 191-c-User.ck:6:103: error: ...(note: this is where the variable is used within 'fun FooChild FooFactory.make()' or its subsidiaries) |
| 15 |
// 191-c-User.ck: ...(hint: try calling 'make()' after the variable initialization) |
| 16 |
|
| 17 |
// construct path from POV of src/test/ |
| 18 |
me.dir(-1)+"/01-Basic/" => string base; |
| 19 |
|
| 20 |
Machine.add( base+"191-a-Foo.ck.disabled" ); |
| 21 |
Machine.add( base+"191-b-Factory.ck.disabled" ); |
| 22 |
Machine.add( base+"191-c-User.ck.disabled" ); |