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
Num.sqrt_checked(4)
Using version: roc_nightly-macos_apple_silicon-2025-02-01-670d2550603
roc_nightly-macos_apple_silicon-2025-02-01-670d2550603
The text was updated successfully, but these errors were encountered:
Thanks for reporting @JosephTLyons!
I was able to produce an error outside the repl as well:
❯ roc build hello.roc An internal compiler expectation was broken. This is definitely a compiler bug. Please file an issue here: <https://github.com/roc-lang/roc/issues/new/choose> ambient functions don't unify Location: crates/compiler/unify/src/unify.rs:202:18 ~ ❯ cat hello.roc app [main!] { cli: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/Hj-J_zxz7V9YurCSTFcFdu6cQJie4guzsPMUi5kBYUk.tar.br" } import cli.Stdout main! = |_args| Stdout.line!(Inspect.to_str(Num.pow(4,2)))
Sorry, something went wrong.
I believe the repl also uses Inspect.to_str so that may be the source of the problem.
Inspect.to_str
I thought this issue only appeared recently but it's even present in commit 0d9db5b from the 9th of July, I did not check older commits.
No branches or pull requests
Using version:
roc_nightly-macos_apple_silicon-2025-02-01-670d2550603
The text was updated successfully, but these errors were encountered: