mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 03:01:31 +03:00
1276f47cf6
The `if then else` syntax expects a block for the `then` and `else` parts. Before this patch, the token `InterpEnd` was not a valid follow up token to end a block. This adds `InterpEnd` as a closing token for blocks, allowing `if then else` in interpolation slices without additional parens.
2 lines
42 B
Plaintext
2 lines
42 B
Plaintext
1/1: Building IfThenElse (IfThenElse.idr)
|