Idris2/tests/idris2/perf/perf011/B.idr
2023-09-07 14:57:22 +01:00

13 lines
329 B
Idris

module B
import A
public export
--if you change the name of the function from BFromInteger to AInt here and in A.idr, as
--below, the problem disappears. Not sure the pattern here, but some names cause an issue
--and some do not
-- BFunc : AInt x => (a : x) -> Type
BFunc : BFromInteger x => (a : x) -> Type
BFunc a = (a = a)