Skip to content
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

Optional parameter usage #91

Open
natebrennand opened this issue Dec 13, 2014 · 1 comment
Open

Optional parameter usage #91

natebrennand opened this issue Dec 13, 2014 · 1 comment

Comments

@natebrennand
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants