mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01: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
|
||||
-- map of datatype names to class default constructor for aggregate initialization
|
||||
local aggregates = {
|
||||
local aggregates = {}
|
||||
|
||||
for i, v in next, {
|
||||
Vector2 = Vector2,
|
||||
UDim2 = UDim2,
|
||||
UDim = UDim2,
|
||||
Rect = Rect,
|
||||
Color3 = Color3
|
||||
}
|
||||
|
||||
for i, v in next, aggregates do
|
||||
} do
|
||||
aggregates[i] = v.new
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue