Closed bogdanterzea closed 2 years ago
@bogdanterzea the issue is in brighterscript
. By filtering out errors 1001 you're hiding that even without the linter, the compiler fails to find other source declarations. You shouldn't filter out base errors like that BTW, only 1104 is really minor, others are usually real problems, though here there seem to be a bug on the compiler side.
@TwitchBronBron I could reproduce that, when the root folder is src/main
, for source
scope, brighterscript
doesn't collect source
callables correctly and raises a "Cannot find function ... in scope source".
I must close the bug here as it's a brighterscript
bug.
Description
In a sceneGraph application (brightscript) I tried to use the following bsconfig file
![image](https://user-images.githubusercontent.com/49044962/132189176-c34e3fdb-386e-4713-93df-34303de59d22.png)
-img1-
and after I runnpx bslint
I get the following errors-img2-
.Mention:
.brs
files are in the same directory and the functions should be shared between them.