Skip to content

Conversation

@spytheman
Copy link
Member

@spytheman spytheman commented Feb 2, 2026

Fix #26498 .

Note: I used codex to fix the issue and to make the minimal reproduction.

The prompts I used with gpt-5.2-codex:

  • fix v echobot.v . Do not change the file, change /opt/v/vlib/v/gen/c/ . Read the /opt/v/AGENTS.md file .
  • add a fix_issue_26498_test.v for that change too in /opt/v/vlib/v/tests/
  • The fix is correct, but the test passes with ./v vlib/v/tests/fix_issue_26498_test.v. It should fail with the unmodified compiler. It should work with the new one, when run like this:./vnew vlib/v/tests/
    fix_issue_26498_test.v . Ajdust the test, until it exhibits the same symptoms as the original code.

@spytheman spytheman merged commit bc0bcd3 into vlang:master Feb 3, 2026
92 of 93 checks passed
@spytheman spytheman deleted the fix_issue_26498 branch February 3, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

invalid c generated for my complex arrays.fold call

1 participant