Warning message uses wrong script as source

17:42:35.680 - "Part.size" should be "Size" in workspace.Script

“workspace.Script” calls the module “workspace.Module”.
The module indexes part using part.size instead of part.Size.
A warning appears, complaining that Script needs to use the proper case.
The “violation”, however, happened in the module.

TL;DR: Warning seems to use the “top level script” instead of the script that caused the warning

4 Likes