In that same file, a inline component is defined and instantiated, which uses a function of that js file:
The expectation is that the binding to the text property is (correctly) evaluated when the inline component is instantiated. Instead, an error is thrown:
I tested on 5.15.3 on Linux only, but I expect the same behaviour on all platforms.
Please find the attached minimal example to produce this error.