Reproduction Steps
Create two ModuleScripts (a
and b
) and an ObjectValue, c
Set the value of c
to the ModuleScript b
.
Try to require the module b
using the value of ObjectValue c
No typing information will be derived, and instead complains about an unknown require
Expected Behavior
I expect it to grab and load the typing information from the referenced module.
Actual Behavior
The referenced module is treated as unknown
and raises an unknown module error.
In the rare case where the value is unknown at edit time, yeah, it should be complaining, however, since the module is directly linked at edit time, it should be generating type info from the module.
Issue Area: Studio
Issue Type: Other
Impact: Moderate
Frequency: Constantly