Skip to content

Indenting confused by single line multi statement if statment #73

@sjbrower

Description

@sjbrower

A single line but multi statement if confuses it unless the statement ends with a ':'

if X = 1: Y = 2: Z = 3: end if

will lose indenting on it and subsequent lines, but

if X = 1: Y = 2: Z = 3: end if:

works fine (notice the trailing colon).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions