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
"C# similarities and differences" document ( https://github.com/rsdn/nemerle/wiki/CSharp-Similarities-and-Differences ) contains a typo:
the following C# code:
if (cond) return foo; do_something (); return bar;
Corresponds to the following Nemerle code:
match(cond){ | true => foo | _ => {doSomething(); foo} }
While a correct version is:
match(cond){ | true => foo | _ => {doSomething(); bar} }
Obviously "foo" should not be returned in both cases, the second case must return "bar"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"C# similarities and differences" document ( https://github.com/rsdn/nemerle/wiki/CSharp-Similarities-and-Differences ) contains a typo:
the following C# code:
if (cond)
return foo;
do_something ();
return bar;
Corresponds to the following Nemerle code:
match(cond){
| true => foo
| _ => {doSomething(); foo}
}
While a correct version is:
match(cond){
| true => foo
| _ => {doSomething(); bar}
}
Obviously "foo" should not be returned in both cases, the second case must return "bar"
The text was updated successfully, but these errors were encountered: