@@ -696,7 +696,9 @@ process h fn (NewDefn decls) = do
696696 updateContext (addCtxtDef (getClauseName clause) (Function ty' tm'))
697697 setReplDefined (Just $ getClauseName clause)
698698 -- fixity and syntax declarations are ignored by elabDecls, so they'll have to be handled some other way
699− defineName (PFix{}:_) = tclift $ tfail (Msg "That kind of declaration is not supported. If you feel it should be supported, please submit an issue at https://github.com/idris-lang/Idris-dev.")
699+ defineName (PFix fc fixity strs : defns) = do
700+ fmodifyState idris_fixities (map (Fix fixity) strs ++)
701+ unless (null defns) $ defineName defns
700702 defineName (PSyntax{}:_) = tclift $ tfail (Msg "That kind of declaration is not supported. If you feel it should be supported, please submit an issue at https://github.com/idris-lang/Idris-dev.")
701703 defineName decls = do
702704 elabDecls toplevel decls