Skip to content

apply postfix for Library statement#323

Open
RokuSerhii wants to merge 7 commits into
rokucommunity:masterfrom
RokuSerhii:library.statement
Open

apply postfix for Library statement#323
RokuSerhii wants to merge 7 commits into
rokucommunity:masterfrom
RokuSerhii:library.statement

Conversation

@RokuSerhii

@RokuSerhii RokuSerhii commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

The ComponentLibraryProject.postfixFiles() does a postfix of files with __lib and changes all references inside the library, but it doesn't apply this postfix for Library "file_name.brs" in the app

So if that library and app are sideloaded to the device, the compilation of the app fails because the Library statement points to a file without a postfix

RokuSerhii and others added 7 commits April 7, 2026 15:46
# Conflicts:
#	src/debugSession/BrightScriptDebugSession.spec.ts
#	src/debugSession/BrightScriptDebugSession.ts
#	src/managers/ProjectManager.spec.ts
#	src/managers/ProjectManager.ts
Deleting interdependent component libraries makes the device emit transient
compile errors (the main app/other complibs briefly reference a complib that
was just removed). Add pause/resume/settle to CompileErrorProcessor and pause
reporting during the delete sweep, resuming (after settle) only once we begin
re-installing libraries to the device. Each zip upload waits for the resume to
fully settle so real install errors are still surfaced.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants