Merge pull request #1025 from nomatteus/erlang-if-fix

[erlang/en] Fix syntax error in erlang if-expression
This commit is contained in:
ven 2015-03-30 22:54:14 +02:00
commit ea7547b375

View File

@ -206,7 +206,7 @@ max(X, Y) ->
if
X > Y -> X;
X < Y -> Y;
true -> nil;
true -> nil
end.
% Warning: at least one of the guards in the `if` expression must evaluate to true;