Fix array assembling bug

This commit is contained in:
Andrew Morris
2022-05-13 10:32:59 +10:00
parent c284cc3823
commit 69616b7769

View File

@@ -572,7 +572,7 @@ impl<'a> Assembler for AssemblerData<'a> {
}
if next == "]" {
self.pos.next(); // TODO: Assert whitespace
self.parse_optional_whitespace();
self.output.push(ValueType::End as u8);
break;
}