rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
162 stars 46 forks source link

Detect too-deep nested folder structure #464

Closed TwitchBronBron closed 2 years ago

TwitchBronBron commented 2 years ago

roku will not read files that are >= 8 directories deep like so: image

We should determine the edge cases for this, and then add diagnostics for the destPath on files that are too nested.

Here are the tests that have been verified

From all of these tests, it appears the issue is that that the BrightScript compiler file auto-discovery algorithm limits itself to 7 directories deep...but the files themselves still exist and can be directly referenced by uri-style references.

Here are the restrictions we need to guard against:

iObject commented 2 years ago

Note: This does not reflect images. Included ones referenced in the manifest.

TwitchBronBron commented 2 years ago

Completed in #680