Commit 898a114
cgen: fix import cycle in link_generated_c_files_test.v
The test was declared `module c` while importing `v.builder`, but
`v.builder` imports `v.gen.c`, creating a cycle (v.gen.c -> v.builder
-> v.gen.c). Make the test `module main` and call `c.gen()` instead.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4dbcba6 commit 898a114
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
| 86 | + | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| |||
0 commit comments