Positional parameters cannot have defaults #26
Labels
Area/Lang
Relates to the Ballerina language specification
design/usability
Design does not work well for some tasks
Milestone
At the moment the spec does not allow positional parameters to have a default and so be optional. This is a bit limiting for API design, especially given that function overloading is not allowed.
The text was updated successfully, but these errors were encountered: