Program codegen generates invalid TypeScript lambdas. #8067
Labels
area/codegen
SDK-gen, program-gen, convert
kind/bug
Some behavior is incorrect or out of spec
language/go
resolution/fixed
This issue was fixed
Milestone
The
aws-eks-pp
TypeScript test fails with parsing errors. We emittedzones.names.map((k, v) => {key: k, value: v})
which is invalid. We should have emittedzones.names.map((k, v) => ({key: k, value: v}))
Steps to reproduce
cd pkg/codegen/internal/test/testdata/aws-eks-pp
yarn run tsc --noEmit aws-eks.ts
Expected: Clean compile
Actual:
Note: there are probably other errors behind this test. We can file file issues for those when this test is solved.
The text was updated successfully, but these errors were encountered: