We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ca5a2 commit 3f5d033Copy full SHA for 3f5d033
src/structs.jl
@@ -513,7 +513,7 @@ end
513
@wh
514
if b == UInt8('}')
515
pos += 1
516
- return pos, T()
+ @goto done
517
elseif b != UInt8('"')
518
error = ExpectedOpeningQuoteChar
519
@goto invalid
@@ -610,7 +610,7 @@ end
610
611
612
613
614
615
616
@@ -621,6 +621,9 @@ end
621
x = StructTypes.construct(c, T)
622
return c.pos, x
623
624
+@label done
625
+ return pos, StructTypes.construct(values, T)
626
+
627
@label invalid
628
invalid(error, buf, pos, T)
629
end
0 commit comments