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
Describe the bug Running erlc on the following code:
f() -> << 0 || register( _V5 = ((_V5 = is_list( try [0 || <<_>> <= <<>>] of _ -> "a" catch _ -> ok end )) andalso _V5), ok ), _V5 >>.
results in the following error message:
unassigned:1: function f/0+29: Internal consistency check failed - please report this bug. Instruction: {test,is_eq_exact, {f,14}, [{tr,{x,0},{t_atom,[false,true]}}, {tr,{y,1},{t_atom,[false,true]}}]} Error: {unassigned,{y,1}}:
It is possible to minimize the testcase further, but it changes the error message. The following:
f() -> _V5 = ((_V5 = is_list( try now() of _ -> "a" catch _ -> ok end )) andalso _V5).
leads to the following error:
test961435:1: function f/0+23: Internal consistency check failed - please report this bug. Instruction: {test,is_eq_exact, {f,14}, [{tr,{x,1},{t_atom,[false,true]}}, {tr,{x,0},{t_atom,[false,true]}}]} Error: {bad_typed_register, {t_union, {t_atom,[ok]}, {t_cons,{t_integer,{52,120}},nil}, none,none,none}, {t_atom,[false,true]}}:
Affected versions Both testcases fail with the following:
Only the top testcase (the one with the "unassigned" error message) fails with an old version of OTP 25.
Additional context This might be a duplicate of #7504 as the two seem quite similar, despite the error message being slightly different.
The text was updated successfully, but these errors were encountered:
Fix crash when compiling is_list/1 call
7f94589
Fixes erlang#7504 Fixes erlang#7505
Yes, it is the same bug.
Sorry, something went wrong.
bjorng
No branches or pull requests
Describe the bug
Running erlc on the following code:
results in the following error message:
It is possible to minimize the testcase further, but it changes the error message. The following:
leads to the following error:
Affected versions
Both testcases fail with the following:
Only the top testcase (the one with the "unassigned" error message) fails with an old version of OTP 25.
Additional context
This might be a duplicate of #7504 as the two seem quite similar, despite the error message being slightly different.
The text was updated successfully, but these errors were encountered: