mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
fix: better RunTimeError case in nodes
This commit is contained in:
parent
f4b6bdd758
commit
5afcbeed20
@ -347,9 +347,12 @@ pub fn expr2_to_markup<'a, 'b>(
|
||||
syn_high_style: HighlightStyle::Blank,
|
||||
parent_id_opt: None,
|
||||
}),
|
||||
Expr2::RuntimeError() => {
|
||||
todo!("Handle Expr2::RuntimeError")
|
||||
}
|
||||
Expr2::RuntimeError() => new_markup_node(
|
||||
"RunTimeError".to_string(),
|
||||
expr2_node_id,
|
||||
HighlightStyle::Blank,
|
||||
markup_node_pool,
|
||||
),
|
||||
rest => todo!("implement expr2_to_markup for {:?}", rest),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user