Implemented Display for built-ins

pull/3/head
ondra05 2022-02-12 22:52:14 +01:00
parent ebd8a28a83
commit 6f489d5435
1 changed files with 1 additions and 1 deletions

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!(