Closed leonschoorl closed 4 years ago
https://github.com/clash-lang/ghc-typelits-natnormalise/blob/de878d1309531960dd7c6e70cb3ab6ace63f19e9/src/GHC/TypeLits/Normalise/SOP.hs#L278-L279
This ends up being called with i = -1
@leonschoorl Thanks for reporting this in the right place - I wasn't sure which one of the two was having the issue.
@kozross reported this in clash-lang/ghc-typelits-knownnat#28: