diff --git a/Sources/IRGen/IULIAInterface.swift b/Sources/IRGen/IULIAInterface.swift index 6749df2e..91c8d23a 100644 --- a/Sources/IRGen/IULIAInterface.swift +++ b/Sources/IRGen/IULIAInterface.swift @@ -57,7 +57,7 @@ struct IULIAInterface { returnCode = "" } - return "function \(functionDeclaration.identifier.name)(\(parameters)) \(attribute)public\(returnCode);" + return "function \(functionDeclaration.identifier.name)(\(parameters)) \(attribute)external\(returnCode);" } func render(_ functionParameter: Parameter) -> String {