'New Luau Typesolver' beta causes Instance properties to become 'never'

Hello,

I found a very strange problem with the typechecker: an if-statement caused all the properties of a certain instance to have the ‘never’ type. It’s kind of specific and I couldn’t figure out the root problem or replicate it in a different context, but I had some leads. Since the script is not supposed to be shared with the public I will only share it with staff.

Snippets of code:

if not deflating then
	rootPart.Deflate:Stop()
end

local mass = math.max(rootPart.AssemblyMass, 0.0001) -- 'mass' has the 'never' type.

Removing rootPart.Deflate:Stop() somehow makes the properties normal again.

A private message is associated with this bug report

1 Like

Duplicate of:

and

with a staff reaponse being in the former:

1 Like