Commit b1a7969
Implement fix for voption with optional parameter syntax (?x=)
Based on analysis:
1. CheckExpressions.fs line 9937: Don't wrap caller arg type when
SupportValueOptionsAsOptionalParameters feature is enabled
2. MethodCalls.fs CalleeSide branch: Return calledArgTy as-is
This allows voption and option types to work with ?x= syntax by not
creating double-wrapping when the parameter is already optional-typed.
Related to #19074
Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>1 parent dd44d9a commit b1a7969
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
0 commit comments