Binding pattern for optional fields #445
Labels
Area/Lang
Relates to the Ballerina language specification
Type/Improvement
Enhancement to language design
Milestone
At the moment, you cannot use a binding pattern with an optional field. Seems like we should fix this, with the variable getting bound to
()
if the optional field is not present.The text was updated successfully, but these errors were encountered: