rokucommunity / rokucommunity/brighterscript
param completion for call inside anon func body is incorrect
Open
Nobody has claimed this yet.
bug
LanguageServer
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
The completions should be for m.to.insertChild(, but are showing for the outer sgnode.observe(
bsc version: v0.69.10
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the parameter-completion behavior described for a call inside an anonymous function, using BrightScript compiler version v0.69.10 and the attached example. Compare the expected completion target, m.to.insertChild(, with the incorrect outer target, sgnode.observe(; done means completions resolve to the inner call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100