Implemented Display for built-ins

This commit is contained in:
Erin 2022-02-12 22:52:14 +01:00 committed by ondra05
parent 49d4699928
commit aa94ae57d8

View file

@ -932,7 +932,7 @@ impl Display for Value {
body, body,
) )
} }
Functio::Builtin(_) => todo!(), Functio::Builtin(b) => write!(f, "builtin @ {}", b.fn_addr()),
Functio::Chain { functios, kind } => { Functio::Chain { functios, kind } => {
let (a, b) = *functios.clone(); let (a, b) = *functios.clone();
write!( write!(