-
Notifications
You must be signed in to change notification settings - Fork 3k
compiler: Various type-related fixes and improvements #6651
New issue
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
compiler: Various type-related fixes and improvements #6651
Conversation
CT Test Results 2 files 285 suites 11m 1s ⏱️ Results for commit 96a1872. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
|
@jhogberg The second commit of this PR (d39cf83) introduces a bug on the following testcase: start() ->
<<_V1 || <<_V0/float, _V1:_V0>> <= <<>>>>.erlc compiles it fine, but it then fails to load in the BEAM, with the following error message: |
5e7b131 to
fdc1169
Compare
|
The new code fails to compile f(<<_, 0/utf8>>) ->
ok.with |
|
I noticed that too soon after pushing -- I had looked at the wrong tab when checking the tests. Happy to see you're on our case so quickly :D I've pushed a fixed version now. |
fdc1169 to
96a1872
Compare
Fixes #6648