fix(entity): can't infer record with record

This commit is contained in:
Aire-One 2023-01-21 21:02:35 +01:00
parent 418c86e23b
commit 34e6a65ebc
1 changed files with 2 additions and 4 deletions

View File

@ -16,11 +16,9 @@ end
local __Variable_Info: metatable<Variable_Info> = {
__call = function(_self: Variable_Info, name: string | nil, types: List<Type_Info.Type_Info> | nil): Variable_Info
name = name or ""
types = types or List()
return {
name = name,
types = types,
name = name or "",
types = types or List(),
fixup = function(self: Variable_Info)
for t in self.types:iter() do