Commit a3a44ab
cgen: fix generic for-in struct iterator; more CI fixes
- Fix cgen for generic struct iterator: re-resolve cond_type from
function parameter's declared type when in generic specialization,
since the checker overwrites the shared AST node for each concrete type.
- Fix markused walker for same issue: use resolve_current_specialized_var_type
to find the correct .next() method for each specialization.
- Remove sgl_test.v: references next_draw_chunk/max_point_batch_vertices
that no longer exist after sokol C bindings refactoring.
- Fix assign_option_of_array_index_test.v: V now auto-unwraps optionals
during string interpolation.
- Fix FTP close() segfault: add nil checks for conn in both FTP.close()
and DTP.close() since conn is initialized to nil.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bcb7e62 commit a3a44ab
5 files changed
Lines changed: 40 additions & 30 deletions
File tree
- vlib
- net/ftp
- sokol/sgl
- v
- gen/c
- markused
- tests/assign
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | | - | |
146 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
666 | 681 | | |
667 | 682 | | |
668 | 683 | | |
669 | 684 | | |
670 | | - | |
| 685 | + | |
671 | 686 | | |
672 | 687 | | |
673 | 688 | | |
| |||
678 | 693 | | |
679 | 694 | | |
680 | 695 | | |
681 | | - | |
| 696 | + | |
682 | 697 | | |
683 | | - | |
| 698 | + | |
684 | 699 | | |
685 | 700 | | |
686 | 701 | | |
| |||
706 | 721 | | |
707 | 722 | | |
708 | 723 | | |
709 | | - | |
| 724 | + | |
710 | 725 | | |
711 | 726 | | |
712 | 727 | | |
713 | | - | |
| 728 | + | |
714 | 729 | | |
715 | 730 | | |
716 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
0 commit comments