Skip to content

Source.valid says 'invalid' for valid trees #366

Open
@ggevay

Description

@ggevay

For example:

{
  val x = 7
  x
}

or

println(5)

Btw. after fixing it, we might add it at the beginning of the compiler pipeline, to have nice error msgs when the user tries to run invalid code. (Maybe switchable from config if it has too large overhead.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions