`NonLeafNode` に子がない場合 jsonの出力が崩れる
Closed this issue · 2 comments
abap34 commented
1.
という入力を与えると、
"ir": {
"class": "Block",
"uuid": "",
"childs": [
{
"class": "NewLine",
"uuid": "1"
},
{
"class": "NewLine",
"uuid": "2"
},
{
"class": "EnumerateBlock",
"uuid": "3",
"childs":
] // ここが invalid
},
{
"class": "NewLine",
"uuid": "4"
},
{
"class": "NewLine",
"uuid": "5"
},
{
"class": "NewLine",
"uuid": "6"
}
]
}
のような 中間表現が出力される。
abap34 commented