Suspicious types when using -fext-core
|Reported by:||nobody||Owned by:||nobody|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
I've tried the -fext-core flag. It seems to work well but emits types that are a bit suspicious. When I have the following class declaration class Vändbar a where vänd :: a -> a I get the following code with the -fext-core flag: zCDVändbar :: %forall a . (a -> a) -> a -> a = %note "InlineMe" \ @ a10 (tpl::a10 -> a10) -> tpl; vänd :: %forall a . (a -> a) -> a -> a = \ @ a10 (tpl::a -> a) -> tpl; Look carefully at the definition of the function vänd. The type of it's argument tpl should really be a10 -> a10 just as in zCDVändbar.
Note: See TracTickets for help on using tickets.