Skip to content

syntax error: have return expression in a if block #15

@myzhan

Description

@myzhan
$ cargo run        
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/hematita_cli`
> if 1==1 then
>>    return
>> end
syntax error: unexpected 'end'
> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions