[New solver] not able to set parent when using typeof

if i use typeof then make a clone and try to set the parent to any type other then the type of the original parent a error is given

local sl: typeof(workspace.SpawnLocation) = workspace.SpawnLocation:Clone()
sl.Parent = game.ServerStorage

Expected behavior

when using typeof it should use the type of the property in this case Instance
{5FBF035F-4D40-436F-8B0E-97D9311FB0F4}
not the type of the current set value

2 Likes

Thanks for the report!

I’ve got a fix for this one that should be ready to go shortly after the holidays.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.