fix: better RunTimeError case in nodes

This commit is contained in:
rvcas 2021-06-28 18:54:21 -04:00
parent f4b6bdd758
commit 5afcbeed20

View File

@ -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),
}
}