-
Notifications
You must be signed in to change notification settings - Fork 468
Optional fields for record only work with variables but not expressions #5733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you tried putting it inside (parens) ? |
?Option.map(newOptions.weekStartOn, Weekday.toInt), It would work, I guess. |
Yes we tried that. And for one, the formatter removed it. But we turned off the formatter and it still didn't work. |
Would you try to install In which case, as a temporary workaround you can use the variable or avoid using |
this works yes |
Using optional type for records with expression instead of variable does not work.
This is working:
This is not working:
Thank you for filing! Check list:
The text was updated successfully, but these errors were encountered: