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
Unable to use imported types in circuit functions.
import core.unstable.blake2s.Blake2s; circuit Foo { function foo() -> [u8; 32] { return Blake2s::hash([0u8; 32], [0u8; 32]) } } function main(a: u32, b: u32) -> u32 { let x = Foo::foo(); return 5 }
| 5 | return Blake2s::hash([0u8; 32], [0u8; 32]) | ^^^^^^^ | = Cannot find value `Blake2s` in this scope Error: Crate("leo-compiler", "Program failed due to previous error")
(Write what you expected to happen here)
The text was updated successfully, but these errors were encountered:
Will this be fixed by the ASG patch?
Sorry, something went wrong.
This will be fixed by ASG patch.
fixed by asg
collinc97
No branches or pull requests
🐛 Bug Report
Unable to use imported types in circuit functions.
Code snippet to reproduce
Stack trace & error message
(Write what you expected to happen here)
Your Environment
The text was updated successfully, but these errors were encountered: