mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Fix type error
This commit is contained in:
parent
a3f03fd067
commit
6764d34ce1
1 changed files with 4 additions and 4 deletions
|
|
@ -39,15 +39,15 @@ local nested_stack = {} :: { {} | number }
|
||||||
|
|
||||||
-- todo: solution without manual updating of this table
|
-- todo: solution without manual updating of this table
|
||||||
-- map of datatype names to class default constructor for aggregate initialization
|
-- map of datatype names to class default constructor for aggregate initialization
|
||||||
local aggregates = {
|
local aggregates = {}
|
||||||
|
|
||||||
|
for i, v in next, {
|
||||||
Vector2 = Vector2,
|
Vector2 = Vector2,
|
||||||
UDim2 = UDim2,
|
UDim2 = UDim2,
|
||||||
UDim = UDim2,
|
UDim = UDim2,
|
||||||
Rect = Rect,
|
Rect = Rect,
|
||||||
Color3 = Color3
|
Color3 = Color3
|
||||||
}
|
} do
|
||||||
|
|
||||||
for i, v in next, aggregates do
|
|
||||||
aggregates[i] = v.new
|
aggregates[i] = v.new
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue