Skip to content

empty block on s-for causes compiler error #1441

Closed
@jpolitz

Description

@jpolitz

for map(): end

causes

Expected to get Srcloc because of the annotation at file:///home/travis/build/brownplt/code.pyret.org/node_modules/pyret-lang/src/arr/compiler/compile-structs.arr:434:26-434:31 at (file:///home/travis/build/brownplt/code.pyret.org/node_modules/pyret-lang/src/arr/compiler/compile-structs.arr:434:26-434:31) but got:

nothing
One or more internal errors prevented us from showing the best error message possible. Please report this as a bug.

It seems that parent-block-loc is not reliably updated in well-formed.arr

Metadata

Metadata

Assignees

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