rokucommunity / rokucommunity/brighterscript

bs-disable doesn't work for 5-level nested function call

Open
#1,104 0 comments 1 reaction 2 assignees View on GitHub

@TwitchBronBron is already working on this.

Since May 12, 2026.

  • #1708 by @copilot-swe-agent — closed without merging
bug
Dominant language
TypeScript
Stars
208
Forks
68
Avg merge
8h 39m
Merged PRs (30d)
39

Description

The bs:disable-line comment isn't working for this specific use case.

bad-interface

What's strange, is deleting 1 character from the function call makes it work again. No idea why.

namespace http
	function request() as object
		callback = sub()
			if true then
				response = {}
				handleInterceptedScreenData(response._interceptedScreenData) 'bs:disable-line 1001
			end if
		end sub
	end function
end namespace

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.