Repro steps:
- This script in the New Luau Type Solver beta (not sure if it’s required):
--!strict
local parts: { BasePart } = {}
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = parts
local overlapParams = OverlapParams.new()
overlapParams.FilterDescendantsInstances = parts
Expected behavior:
No warnings
Actual behavior:
There are warnings because of this, due to the type of FilterDescendantsInstances being { Instance } and not { BasePart }.
This is a problem in code which accumulates the filter dynamically and uses the correct type to store the parts.
