Fix new compiler error from Teal 0.15.0 upgrade #75

Merged
Aire-One merged 4 commits from feat/fixes-teal-0.15.0 into master 2023-02-04 00:23:05 +01:00
1 changed files with 2 additions and 4 deletions
Showing only changes of commit 34e6a65ebc - Show all commits

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