mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
7a5f63eab0
e79e4277
("[ fix ] Make Bits types use int switch statement in RefC")
made the RefC backend generate code calling `extractInt` with Bits
types, bit did not add the extra cases to `extractInt`. This commit adds
the missing cases.
Fixes #2452
5 lines
129 B
Plaintext
5 lines
129 B
Plaintext
rm -rf build
|
|
|
|
$1 --no-banner --no-color --console-width 0 --cg refc -o bits_case BitsCase.idr > /dev/null
|
|
./build/exec/bits_case
|