rokucommunity / rokucommunity/brighterscript
Fails to flag nested named functions as a syntax error
Open
@TwitchBronBron is already working on this.
Since Nov 29, 2022.
bug
LanguageServer
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
See the below example:

function test() as dynamic
function test2() as dynamic
return true
end function
return true
end function
When side loading I get the following compile error:

--- Syntax Error. (compile error &h02) in networking__lib0.brs(37)
--- Syntax Error. (compile error &h02) in networking__lib0.brs(40)
*** ERROR compiling NetworkService
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.
Assessment
This issue has not been assessed yet.