Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Dec 3, 2023
1 parent 811b228 commit ca854e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vlib/v/checker/tests/comptime_field_selector_not_name_err.out
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,17 @@ vlib/v/checker/tests/comptime_field_selector_not_name_err.vv:15:12: error: expec
| ~~~~
16 | }
17 |
vlib/v/checker/tests/comptime_field_selector_not_name_err.vv:15:10: error: compile time field access can only be used when iterating over `T.fields`
13 | }
14 | }
15 | _ = t.$(f.name)
| ^
16 | }
17 |
vlib/v/checker/tests/comptime_field_selector_not_name_err.vv:15:10: error: unknown `$for` variable `f`
13 | }
14 | }
15 | _ = t.$(f.name)
| ^
16 | }
17 |

0 comments on commit ca854e2

Please sign in to comment.