Skip to content

🐛 Add validation for mutually exclusive CONSTBIND and BIND options#6

Merged
x5iu merged 2 commits intomainfrom
fix/constbind-bind-conflict
Dec 15, 2025
Merged

🐛 Add validation for mutually exclusive CONSTBIND and BIND options#6
x5iu merged 2 commits intomainfrom
fix/constbind-bind-conflict

Conversation

@x5iu
Copy link
Copy Markdown
Owner

@x5iu x5iu commented Dec 15, 2025

Summary

  • 在代码生成阶段检测 CONSTBIND 和 BIND 选项是否同时出现
  • 如果同时出现,提前报错并给出明确的错误信息
  • 添加了对应的测试用例验证该功能

Test plan

  • 运行 ./test.sh 确保所有测试通过
  • 新增的测试用例 fail_constbind_bind_conflict 验证冲突检测功能

🤖 Generated with Claude Code

Boyux and others added 2 commits December 15, 2025 22:23
When both CONSTBIND and BIND options are specified for a method,
the code generator now reports an error early instead of producing
incorrect code. This helps users identify configuration mistakes
before runtime.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@x5iu x5iu merged commit 8e856ce into main Dec 15, 2025
9 checks passed
@x5iu x5iu deleted the fix/constbind-bind-conflict branch December 15, 2025 15:08
@x5iu x5iu added the opus-4.5 This PR is generated by Opus 4.5 label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

opus-4.5 This PR is generated by Opus 4.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants