Implemented Display for built-ins

This commit is contained in:
Erin 2022-02-12 22:52:14 +01:00 committed by ondra05
parent 06ec25e717
commit a1f6d1ae5f

View file

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