We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v1.0.26-alpha+6d7b851
nixos
pub fn a(x: Int) { b(x) } fn b(y: Int) { trace cbor.diagnostic((x, y)) x + y }
This type checks and causes a build to panic.
crates/uplc/src/optimize/shrinker.rs:960:67 called `Result::unwrap()` on an `Err` value: FreeUnique(Name { text: "x", unique: Unique(6) })
Found when the LSP invited me to use a variable not in the scope of the function, but is where function is invoked, which confused me.
Typecheck says this is illegal
The text was updated successfully, but these errors were encountered:
Hmm. Looks like we've introduced a regression with the scope in #922. I know the problem. Good thing we haven't released that version yet 😶 ...
Sorry, something went wrong.
Fix scope management issue when deep-inferring callee.
de07396
Fixes #941. However, this currently breaks the stdlib somehow with some FreeUnique on the shrinker step of the optimizer.
eadf709
Successfully merging a pull request may close this issue.
What Git revision are you using?
v1.0.26-alpha+6d7b851
What operating system are you using, and which version?
nixos
Describe what the problem is?
This type checks and causes a build to panic.
Found when the LSP invited me to use a variable not in the scope of the function, but is where function is invoked, which confused me.
What should be the expected behavior?
Typecheck says this is illegal
The text was updated successfully, but these errors were encountered: