-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
"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"
Metadata
Metadata
Assignees
Labels
No labels