We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
odin report
Compiles.
Fails with syntax error.
These two multiline ternary expressions fail to compile:
val := 1 \ if true else 2
val := 1 \ if true \ else 2
This one compiles and works:
val := 1 if true \ else 2
Syntax Error: Expected '{', got 'else'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
odin report
output:Odin: dev-2022-11:6fa0679b
OS: Windows 11 Home Basic (version: 21H2), build 22000.1219
CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
RAM: 32602 MiB
Expected Behavior
Compiles.
Current Behavior
Fails with syntax error.
Failure Information (for bugs)
These two multiline ternary expressions fail to compile:
This one compiles and works:
Failure Logs
The text was updated successfully, but these errors were encountered: