mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
7 lines
164 B
Plaintext
Vendored
7 lines
164 B
Plaintext
Vendored
>>> if (false) 42
|
|
>>> if (true) 42
|
|
>>> "" + (if (true) 42)
|
|
error: 'if' must have both main and 'else' branches if used as an expression
|
|
"" + (if (true) 42)
|
|
^
|