frugal icon indicating copy to clipboard operation
frugal copied to clipboard

go: failed generating correct code

Open sakura-rip opened this issue 3 years ago • 0 comments

when running below command, frugal -gen=go:async hoge.frugal

The generated file will raise Unresolved reference 'ctx' Error image

https://github.com/Workiva/frugal/blob/daacef7dce45875fdf620095f03dc06a920664b3/compiler/generator/golang/generator.go#L1979

This location is wrong.

sakura-rip avatar Mar 27 '21 10:03 sakura-rip