rokucommunity / rokucommunity/brighterscript
Error BS1091 Incorrectly Flags "#if not <CONST>"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
Pretty simple to test in any app, see the screenshot.
I've had one of these #if nots in our repo for a long time, but I did a quick sanity test too and verified that the Roku OS can process either if/else path successfully.
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
Reproduce the report in a minimal Roku/BrightScript app containing #if not <CONST> and observe when BS1091 is emitted. Compare both #if branches and verify that valid conditional-compilation syntax no longer produces the diagnostic; the issue does not name a source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100