Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
fix: fix arguments types issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 21, 2022
1 parent e5a2c22 commit 821609c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,11 @@ class ClassRepository(systemId: String, language: String, workspace: String) {
values["clzname"] = clzName
values["name"] = m.Name
values["returntype"] = m.ReturnType
values["argumenttypes"] = m.Parameters.map { it.TypeType }.joinToString(",")
var arguments = m.Parameters.map { it.TypeType }.joinToString(",")
if (arguments.contains("'")) {
arguments = arguments.replace("'", "''")
}
values["argumenttypes"] = arguments

if (m.Modifiers.isNotEmpty()) {
values["access"] = m.Modifiers[0]
Expand Down

0 comments on commit 821609c

Please sign in to comment.