Skip to content

syntax error for extra semicolon #4067

@mahrud

Description

@mahrud

I did not expect this:

i1 : f = x -> x;

i2 : f = x -> x;;
stdio:2:11:(3): error: syntax error at ';'

Why are two semicolons an error?

i7 : ;;
stdio:7:0:(3): error: syntax error at ';'

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