Repair a verified behavior in clash-lang/clash-compiler.
Repair a verified behavior in clash-lang/clash-compiler.: a task in OriGent-RL-Data (Harbor dataset). In the clashi interactive environment, evaluating Clash.Prelude.slice d2 d0 5 returns 000 even though the three least significant bits of decimal 5 are 101 . The incorrect result comes from…
The task
In the `clashi` interactive environment, evaluating `Clash.Prelude.slice d2 d0 5` returns `000` even though the three least significant bits of decimal 5 are `101`. The incorrect result comes from interactive type defaulting: the unannotated numeric literal is currently defaulted to `Double`, which is unsuitable for…
Part of henryen/OriGent-RL-Data.