aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-05-19 14:39:41 -0400
committerMarkus Armbruster <armbru@redhat.com>2021-05-20 11:28:27 +0200
commit7c610ce6a9950a49148fc3d37ed353958ca8d776 (patch)
tree4e5af55a52a26bd9805334c41e07d2aeb7a1e643 /plugins
parent16ff40acc9c1fc871c2c835b3b20e374d6daed98 (diff)
qapi/parser: Assert lexer value is a string
The type checker can't narrow the type of the token value to string, because it's only loosely correlated with the return token. We know that a token of '#' should always have a "str" value. Add an assertion. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20210519183951.3946870-6-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions