ashish10alex / ashish10alex/vscode-dataform-tools
bug: Error compiling Dataform if explicit variable assignment is used when calling javascript function
- Dominant language
- TypeScript
- Stars
- 94
- Forks
- 16
- Avg merge
- 4m
- Merged PRs (30d)
- 7
Description
**Describe the bug**
I run dataform compile --timeout 60000
or just click "show vertical split" in vscode interface
**Expected behavior**
Compilation window reference other models in list, not current one
Checked affiliate_id field, which shows like mistake in all models - it's ok and is compiled/run in web dataform
**Screenshots**

**Environment:**
- WSL2/ Ubuntu-24.04
- Dataform cli version 2.9.0
- Version of the extension 0.10.9
- ...
Contributor guide
Research direction
Reproduce the report with `dataform compile --timeout 60000` and through the VS Code “show vertical split” action, using the listed Dataform CLI and extension versions. Compare the compilation window’s model references with the expected models, including the explicit variable assignment case; done means the current model is no longer incorrectly referenced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- data-engineering, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100