mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update JsonEncoder.cpp
fix JsonEncoder so that AstArray elems are given commas seperating them
This commit is contained in:
parent
9488f2379d
commit
1bcb372bf4
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ struct AstJsonEncoder : public AstVisitor
|
||||||
if (comma)
|
if (comma)
|
||||||
writeRaw(",");
|
writeRaw(",");
|
||||||
else
|
else
|
||||||
comma = false;
|
comma = true;
|
||||||
|
|
||||||
write(a);
|
write(a);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue