mirror of
https://github.com/janet-lang/janet
synced 2024-11-18 14:44:48 +00:00
Fix getline not being pretty printed properly.
This commit is contained in:
parent
9805bfb635
commit
90b685f8f4
@ -418,7 +418,7 @@ const uint8_t *dst_description(Dst x) {
|
||||
case DST_CFUNCTION:
|
||||
{
|
||||
Dst check = dst_table_get(dst_vm_registry, x);
|
||||
if (!dst_checktype(x, DST_NIL)) {
|
||||
if (dst_checktype(check, DST_SYMBOL)) {
|
||||
return dst_formatc("<cfunction %V>", check);
|
||||
}
|
||||
goto fallthrough;
|
||||
|
Loading…
Reference in New Issue
Block a user