fix serialization

This commit is contained in:
collin 2020-12-16 15:43:16 -05:00 committed by Protryon
parent 6bb3437280
commit 9657084001

View File

@ -11,8 +11,8 @@
"block" : {
"statements": [
{
"Return": [
{
"Return": {
"expression": {
"Binary": {
"left": {
"Value": {
@ -49,15 +49,21 @@
}
}
},
{
"span" : {
"text": " return 1 + 1",
"line": 2,
"start": 5,
"end": 17
}
]
}
}
]
],
"span" : {
"text": " return 1 + 1",
"line": 2,
"start": 5,
"end": 17
}
},
"span": {
"text": " function main() {",