@@ -442,7 +442,6 @@ interfaceSource _ _ _ = ""
442442
443443implHeaderSource :: Text -> [Text] -> Text -> Text
444444implHeaderSource mn imports otherPrefix =
445− let imports' = T.replace "_" "." <$> imports in
446445 "// Code generated by psgo. DO NOT EDIT.\n\n" <>
447446 "package " <> (if mn == "Main" then "main" else mn) <> "\n\n" <>
448447 "import . \"" <> runtime <> "\"\n" <>
@@ -450,7 +449,7 @@ implHeaderSource mn imports otherPrefix =
450449 then "import _ \"" <> otherPrefix <> "/" <> ffiLoader <> "\"\n"
451450 else "\n") <>
452451 "import (\n" <>
453− (T.concat $ formatImport <$> imports') <> ")\n\n" <>
452+ (T.concat $ formatImport <$> imports) <> ")\n\n" <>
454453 "type _ = Any\n\n"
455454 where
456455 formatImport :: Text -> Text