You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Agda2Hs/Compile.hs
+6-8
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ verifyOutput ::
120
120
verifyOutput _ _ _ m ls =do
121
121
reportSDoc "agda2hs.compile"5$ text "Checking generated output before rendering: "<+> prettyTCM m
122
122
ensureUniqueConstructors
123
-
ensureNoOutputFromPrimModules
123
+
ensureNoOutputFromHsModules
124
124
where
125
125
ensureUniqueConstructors =do
126
126
let allCons =do
@@ -136,17 +136,15 @@ verifyOutput _ _ _ m ls = do
136
136
when (length duplicateCons >0) $
137
137
genericDocError =<< vcat (map (\x -> text $"Cannot generate multiple constructors with the same identifier: "<>Hs.prettyPrint (headWithDefault __IMPOSSIBLE__ x)) duplicateCons)
0 commit comments