@@ -170,7 +170,7 @@ mkFromSpineFunction mn (DataDeclaration _ _ _ args) = lamCase "$x" <$> (addCatch
170170 mkAlternative :: (ProperName, [Type]) -> m CaseAlternative
171171 mkAlternative (ctorName, tys) = do
172172 idents <- replicateM (length tys) (fmap Ident freshName)
173− return $ CaseAlternative [ prodBinder [ StringBinder (runProperName ctorName), ArrayBinder (map VarBinder idents)]]
173+ return $ CaseAlternative [ prodBinder [ StringBinder (showQualified runProperName (Qualified (Just mn) ctorName)), ArrayBinder (map VarBinder idents)]]
174174 . Right
175175 $ liftApplicative (mkJust $ Constructor (Qualified (Just mn) ctorName))
176176 (zipWith fromSpineFun (map (Var . Qualified Nothing) idents) tys)