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
bad_typed_register
beam_validator
Describe the bug Compilation fails:
Internal consistency check failed - please report this bug. Instruction: {test,is_eq_exact, {f,4}, [{tr,{y,0},{t_integer,any}},{integer,0}]} Error: {bad_typed_register,{t_bitstring,256,true},{t_integer,any}}:
To Reproduce Compile the following function:
f(_V0) -> case trunc( try trunc(<<>> = _V0) catch _ -> 0.0 end ) of _V0 -> ok; _ -> 42 end.
Expected behavior Successful compilation.
Affected versions OTP 25, OTP 26, master
Additional context Originally posted in #6599 and #7342. This bug is related to #7147.
The text was updated successfully, but these errors were encountered:
Merge pull request #7355 from bjorng/bjorn/compiler/fix-normalize/GH-…
2ca8940
…7354/OTP-18625 Fix `bad_typed_register` failure
23747cd
Merge branch 'bjorn/compiler/fix-normalize/GH-7354/OTP-18625' into ma…
2ea2bcf
…int-26 * bjorn/compiler/fix-normalize/GH-7354/OTP-18625: Fix bad_typed_register failure
bjorng
No branches or pull requests
Describe the bug
Compilation fails:
To Reproduce
Compile the following function:
Expected behavior
Successful compilation.
Affected versions
OTP 25, OTP 26, master
Additional context
Originally posted in #6599 and #7342. This bug is related to #7147.
The text was updated successfully, but these errors were encountered: