lang: funcs: funcgen: Refactor slightly for list input
This code had some design issues. We'll rewrite this eventually, but for now, let's allow list inputs. Refactor this to make it possible.
This commit is contained in:
@@ -143,7 +143,7 @@ func (obj *function) Signature() (string, error) {
|
||||
|
||||
// MakeGoReturn returns the golang signature of the return.
|
||||
func (obj *function) MakeGoReturn() (string, error) {
|
||||
return obj.Return[0].ToGolang()
|
||||
return obj.Return[0].OldToGolang()
|
||||
}
|
||||
|
||||
// ConvertStart returns the start of a casting function required to convert from
|
||||
|
||||
Reference in New Issue
Block a user