Skip to content

Compiler segfault for if (var foo) {} #2154

Closed
@cbuttner

Description

@cbuttner
fn void main() {
  // This segfaults
  if (var foo) {}

  // This also segfaults
  for (var foo;;) {}
}

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingFixed needs testingNeeds verification / testing that it now works

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions