Skip to content

empty block on s-for causes compiler error #1441

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jpolitz opened this issue Mar 5, 2019 · 1 comment
Closed

empty block on s-for causes compiler error #1441

jpolitz opened this issue Mar 5, 2019 · 1 comment
Assignees

Comments

@jpolitz
Copy link
Member

jpolitz commented Mar 5, 2019

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

@blerner blerner self-assigned this Mar 5, 2019
@blerner
Copy link
Member

blerner commented Mar 5, 2019

I'll take care of this

blerner pushed a commit that referenced this issue Mar 5, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants