Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Internal compiler error: BuilderT.lookupType: unknown variable #2000

Closed
nqpz opened this issue Jul 30, 2023 · 0 comments
Closed

Internal compiler error: BuilderT.lookupType: unknown variable #2000

nqpz opened this issue Jul 30, 2023 · 0 comments

Comments

@nqpz
Copy link
Member

nqpz commented Jul 30, 2023

The program

entry main (x: i32) (y: i32): bool =
  match x
  case x' -> (\z -> z == x') y

fails with futhark from git with this error:

Internal compiler error (unhandled IO exception).
Please report this at https://github.com/diku-dk/futhark/issues
BuilderT.lookupType: unknown variable x'_4442
Known variables: 
z_4443

CallStack (from HasCallStack):
  error, called at src/Futhark/Builder.hs:104:9 in futhark-0.26.0-inplace:Futhark.Builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants