mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 06:52:49 -06:00
Comment out some dead code found with -fwarn-unused-binds
Also fixed some warnings and tightened some imports
This commit is contained in:
@@ -126,7 +126,7 @@ toHaskell gId gr absname cenv (name,jment) =
|
||||
[Right (cat,(Eqn (prefixIdent "lin" cat,lhs),coerce [] lincat rhs))]
|
||||
where
|
||||
Ok abstype = lookupFunType gr absname name
|
||||
(absctx,abscat,absargs) = typeForm abstype
|
||||
(absctx,_abscat,_absargs) = typeForm abstype
|
||||
|
||||
e' = unAbs (length params) $
|
||||
nf loc (mkAbs params (mkApp def (map Vr args)))
|
||||
|
||||
Reference in New Issue
Block a user