Fix new compiler error from Teal 0.15.0 upgrade #75
|
@ -16,11 +16,9 @@ end
|
||||||
|
|
||||||
local __Variable_Info: metatable<Variable_Info> = {
|
local __Variable_Info: metatable<Variable_Info> = {
|
||||||
__call = function(_self: Variable_Info, name: string | nil, types: List<Type_Info.Type_Info> | nil): 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 {
|
return {
|
||||||
name = name,
|
name = name or "",
|
||||||
types = types,
|
types = types or List(),
|
||||||
|
|
||||||
fixup = function(self: Variable_Info)
|
fixup = function(self: Variable_Info)
|
||||||
for t in self.types:iter() do
|
for t in self.types:iter() do
|
||||||
|
|
Loading…
Reference in New Issue