ast: fix error condition causing assert to fail
authorXiretza <xiretza@xiretza.xyz>
Tue, 16 Mar 2021 23:08:43 +0000 (00:08 +0100)
committerZachary Snow <zachary.j.snow@gmail.com>
Mon, 14 Jun 2021 17:56:51 +0000 (13:56 -0400)
commit9ca5a91724e114ebb8c04be8edfc0f2f5e8073a9
treec7fe55ad6cbe21dbcfd77693c8e5c368aac5110c
parentb516c681fe6c06fb089fe1e1bc081ffeb56c7949
ast: fix error condition causing assert to fail

type2str returns a string that doesn't start with $ or \, so it can't be
assigned to an IdString.
frontends/ast/genrtlil.cc