Support hi/lo on literals
Open
compiler
enhancement
- Dominant language
- Scala
- Stars
- 279
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Minor feature request, but it would be nice to either use `.hi`/`.lo` or some other syntax to get the literal high or low bytes of a literal. I ran into this while implementing a hex to dec conversion algorithm, where I wrote `400.lo`, `400.hi` in constructing a table.
Contributor guide
Assessment
This issue has not been assessed yet.