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
if p then e1 else e2
If ... then ... else ... expressions need to be type checked to meet the following criteria:
p
e1
e2
p must be a boolean value (or castable to boolean). e1 and e2 can be any valid expressions, as long as their types match.
If e1 and e2 are not equivalent types, a type checking error should be thrown to cross-compiling environment.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if p then e1 else e2
If ... then ... else ... expressions need to be type checked to meet the following criteria:
p
: Boolean Valuee1
: Type0e2
: Type0p
must be a boolean value (or castable to boolean).e1
ande2
can be any valid expressions, as long as their types match.If
e1
ande2
are not equivalent types, a type checking error should be thrown to cross-compiling environment.The text was updated successfully, but these errors were encountered: