Merge pull request 'Fix: `render_typed_variable` concat character is wrong' (#29) from fix/render_typed_variable-types-concat into master
Reviewed-on: #29
This commit is contained in:
commit
c8e621c4ec
|
@ -17,7 +17,7 @@ function snippets.render_typed_variable(name: string, types: List<string>): stri
|
|||
|
||||
local tmpl_args = {
|
||||
name = name,
|
||||
types = types:concat(", "),
|
||||
types = types:concat(" | "),
|
||||
}
|
||||
|
||||
return utils.do_or_fail(template.substitute, tmpl, tmpl_args)
|
||||
|
|
Loading…
Reference in New Issue