1 // REQUIRED_ARGS: -preview=dip1021
6 fail_compilation/failob2.d(105): Error: variable `failob2.foo1!int.foo1.p` has undefined state and cannot be read
7 fail_compilation/failob2.d(105): Error: variable `failob2.foo1!int.foo1.p` is returned but is Undefined
8 fail_compilation/failob2.d(124): Error: template instance `failob2.foo1!int` error instantiating
9 fail_compilation/failob2.d(111): Error: variable `failob2.foo2!int.foo2.p` has undefined state and cannot be read
10 fail_compilation/failob2.d(111): Error: variable `failob2.foo2!int.foo2.p` is returned but is Undefined
11 fail_compilation/failob2.d(125): Error: template instance `failob2.foo2!int` error instantiating
12 fail_compilation/failob2.d(119): Error: variable `failob2.foo3!int.foo3.p` has undefined state and cannot be read
13 fail_compilation/failob2.d(119): Error: variable `failob2.foo3!int.foo3.p` is returned but is Undefined
14 fail_compilation/failob2.d(126): Error: template instance `failob2.foo3!int` error instantiating
51 fail_compilation/failob2.d(205): Error: variable `failob2.foo4!int.foo4.p` is left dangling at return
52 fail_compilation/failob2.d(209): Error: template instance `failob2.foo4!int` error instantiating