We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Semantics defined for using a subset of the optional parameters
Can I alter s2 without setting s1?
func foo(int a, int b, string s1 = "", string s2 = null) int{ return 0; }
foo(1, 2, s2="hi")
Guru @danrschlosser, do we want this? If so we need to define it in the LRM
The text was updated successfully, but these errors were encountered:
Yes we can. https://github.com/rapid-lang/rapid/blob/master/LRM/README.md#function-call
Sorry, something went wrong.
natebrennand
No branches or pull requests
Semantics defined for using a subset of the optional parameters
Can I alter s2 without setting s1?
func foo(int a, int b, string s1 = "", string s2 = null) int{
return 0;
}
foo(1, 2, s2="hi")
Guru @danrschlosser, do we want this? If so we need to define it in the LRM
The text was updated successfully, but these errors were encountered: