Skip to content

Error: if expression with else clause on next line #220

@aspeddro

Description

@aspeddro
if true { true } else { false }
(source_file [0, 0] - [6, 0] (expression_statement [0, 0] - [2, 1] (if_expression [0, 0] - [2, 1] (true [0, 3] - [0, 7]) (block [0, 8] - [2, 1] (expression_statement [1, 2] - [1, 6] (true [1, 2] - [1, 6]))))) (expression_statement [3, 0] - [3, 4] (value_identifier [3, 0] - [3, 4])) (expression_statement [3, 5] - [5, 1] (block [3, 5] - [5, 1] (expression_statement [4, 2] - [4, 7] (false [4, 2] - [4, 7]))))) /home/pedro/Desktop/test-filetypes/rescript_test.res 0 ms (MISSING ";" [3, 4] - [3, 4]) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions