mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed const stride issues
This commit is contained in:
parent
e60bbdf64f
commit
8c700e6deb
5 changed files with 34 additions and 3 deletions
|
@ -1348,6 +1348,16 @@ void BeDumpContext::ToString(StringImpl& str, BeValue* value, bool showType, boo
|
|||
return;
|
||||
}
|
||||
|
||||
if (auto constant = BeValueDynCast<BeUndefConstant>(value))
|
||||
{
|
||||
if (showType)
|
||||
{
|
||||
BeModule::ToString(str, constant->mType);
|
||||
str += " ";
|
||||
}
|
||||
str += "undef";
|
||||
}
|
||||
|
||||
if (auto constant = BeValueDynCast<BeCastConstant>(value))
|
||||
{
|
||||
ToString(str, constant->mType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue