@@ -10,7 +10,7 @@ import qualified Type.Solve as Solve
1010
1111import SourceSyntax.Module as Module
1212import qualified SourceSyntax.Expression as Expr
13−import SourceSyntax.Location (none)
13+import SourceSyntax.Location (Located, noneNoDocs)
1414import SourceSyntax.PrettyPrint
1515import Text.PrettyPrint
1616import qualified Type.State as TS
@@ -38,7 +38,7 @@ infer interfaces modul = unsafePerformIO $ do
3838 let allTypes = ctors ++ importedVars
3939 vars = concatMap (fst . snd) allTypes
4040 header = Map.map snd (Map.fromList allTypes)
41− environ = none . T.CLet [ T.Scheme vars [] (none T.CTrue) header ]
41+ environ = noneNoDocs . T.CLet [ T.Scheme vars [] (noneNoDocs T.CTrue) header ]
4242
4343 fvar <- T.var T.Flexible
4444 constraint <- environ `fmap` TcExpr.constrain env (program modul) (T.VarN fvar)