Fix Conformance Test: l1-builtin-try and l1-builtin-can
Open
Nobody has claimed this yet.
area/testing
kind/engineering
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Description
--- FAIL: TestLanguage/l1-builtin-try (0.01s)
language_test.go:146: generate project: main.pp:8,11-14: unknown function 'try'; , and 3 other diagnostic(s)
language_test.go:148: stdout:
language_test.go:149: stderr:
language_test.go:150:
Error Trace: /Users/brpol/src/pulumi/pulumi-java/pkg/cmd/pulumi-language-java/language_test.go:150
Error: Should be true
Test: TestLanguage/l1-builtin-try
Try is simply not implemented in pulumi-language-java's codegen, which is yet to be fully implemented.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the failing l1-builtin-try and l1-builtin-can cases in the conformance tests and inspect the referenced language_test.go output. Trace pulumi-language-java's codegen handling for built-in functions and determine the expected generated Java behavior. Done means both conformance cases generate successfully without unknown-function diagnostics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100