Skip to content

Commit af7a73d

Browse files
committed
Add inline translation for int
1 parent db74dd1 commit af7a73d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

transpiler/translations_native.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,7 @@ func init() {
6565
RegisterInlineTranslation("float64", func(args []Resolvable) (Resolvable, error) {
6666
return args[0], nil
6767
})
68+
RegisterInlineTranslation("int", func(args []Resolvable) (Resolvable, error) {
69+
return args[0], nil
70+
})
6871
}

0 commit comments

Comments
 (0)