mirror of https://github.com/pulumi/pulumi.git
54d3b786a1
13116: [pcl/go] Fix panic in go program-gen when encountering splat expressions r=Zaid-Ajaj a=Zaid-Ajaj # Description This PR adds a test program to show compiling splat expressions in the different languages and fixing a panic in go program-gen. I created a simple schema for this specific test which is why compiling the example is skipped in all languages. The problem was that rewriting splat expressions happened after rewriting conversions so I switched the order of them. Fixes #13108 ## Checklist - [ ] I have run `make tidy` to update any new dependencies - [ ] I have run `make lint` to verify my code passes the lint check - [ ] I have formatted my code using `gofumpt` <!--- Please provide details if the checkbox below is to be left unchecked. --> - [x] I have added tests that prove my fix is effective or that my feature works <!--- User-facing changes require a CHANGELOG entry. --> - [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change <!-- If the change(s) in this PR is a modification of an existing call to the Pulumi Cloud, then the service should honor older versions of the CLI where this change would not exist. You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add it to the service. --> - [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. --> Co-authored-by: Zaid Ajaj <zaid.naom@gmail.com> |
||
---|---|---|
.. | ||
test | ||
utils |