Skip to content

Type definitions should not be accepted after value definitions #182

@MartinErwig

Description

@MartinErwig

Type definitions should not be accepted after the first value definition. E.g., the following program should be rejected by the parser.

game Error_TypeDefinitionAfterValueDefinition

x : Int
x = 3

type Foo = {A,B}

y : Foo
y = A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions