v2 / vlib / v / checker / tests / custom_comptime_define_error.out
14 lines · 14 sloc · 738 bytes · f55c2956fbd893cf22df1780724a2c4c436332e2
Raw
1vlib/v/checker/tests/custom_comptime_define_error.vv:6:6: error: undefined ident: `mysymbol`
2 4 | println('comptime option define works')
3 5 | }
4 6 | $if mysymbol {
5 | ~~~~~~~~
6 7 | // this will produce a checker error when `-d mysymbol` is not given on the CLI
7 8 | println('comptime non-option define works')
8vlib/v/checker/tests/custom_comptime_define_error.vv:6:6: error: unknown var: `mysymbol`
9 4 | println('comptime option define works')
10 5 | }
11 6 | $if mysymbol {
12 | ~~~~~~~~
13 7 | // this will produce a checker error when `-d mysymbol` is not given on the CLI
14 8 | println('comptime non-option define works')
15