mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Update panic tags of builtins
This commit is contained in:
parent
32400e37e1
commit
4202352b19
3 changed files with 7 additions and 6 deletions
|
@ -195,6 +195,7 @@ impl std::convert::TryFrom<u32> for PanicTagId {
|
|||
fn try_from(value: u32) -> Result<Self, Self::Error> {
|
||||
match value {
|
||||
0 => Ok(PanicTagId::RocPanic),
|
||||
1 => Ok(PanicTagId::UserPanic),
|
||||
_ => Err(()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue