on master help sign in
Update comment.
commitac26ce5e92a867ea7ef4622e5109a4ed51093a00 authorMatus Tejiscak <ziman@functor.sk> dateFri 5 Apr 2019, 19:03 (8 years ago) parent21319b8
1 file changed+4−1
src/IRTS/Compiler.hs+4−1
src/IRTS/Compiler.hs+4−1
@@ -524,7 +524,10 @@ data LikeNat = LikeZ | LikeS
524524
525525isLikeNat :: IState -> Name -> Maybe LikeNat
526526isLikeNat ist cn
527− -- if the optimisation is disabled then nothing looks like Nat
527+ -- Nat itself is special-cased in Idris/DataOpts.hs,
528+ -- which will have already happened at this point.
529+
530+ -- If the optimisation is disabled then nothing looks like Nat.
528531 | GeneralisedNatHack `notElem` opt_optimise (idris_options ist)
529532 = Nothing
530533