Odin icon indicating copy to clipboard operation
Odin copied to clipboard

Confusing bit_set error message

Open ftphikari opened this issue 3 years ago • 2 comments

package bug4

main :: proc() {
    possibilities: bit_set[1..=9; u8]
}

Compilation error:

bit_set range is greater than 8 bits, 10 bits are required (internal the lower changed was changed 0 as an underlying type was set)

The part in parentheses is extremely confusing.

ftphikari avatar Mar 20 '22 11:03 ftphikari

Hello!

I am marking this issue as stale as it has not received any engagement from the community or maintainers 120 days. That does not imply that the issue has no merit! If you feel strongly about this issue

  • open a PR referencing and resolving the issue;
  • leave a comment on it and discuss ideas how you could contribute towards resolving it;
  • leave a comment and describe in detail why this issue is critical for your use case;
  • open a new issue with updated details and a plan on resolving the issue.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone..

github-actions[bot] avatar Jul 24 '22 21:07 github-actions[bot]

Please reopen.

ftphikari avatar Dec 23 '22 22:12 ftphikari