fix: pass correct args to FFI function in haskell - #1135
Conversation
Signed-off-by: datron <Datron@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughThe Haskell client now passes the exclusion-prefix pointer before the merge-strategy pointer when it calls the foreign ChangesHaskell client FFI correction
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change corrects the argument order passed to the Haskell FFI function, preventing incorrect handling of the exclude-prefix value. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem
wrong order of args are passed to the FFI function
But we were sending
leading to a NULL string error if excludePrefix was
NoneSolution
Reorder args to the FFI function
cac_get_resolved_configSummary by CodeRabbit