mirror of
https://github.com/janet-lang/janet
synced 2024-09-29 07:20:41 +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:
|
case DST_CFUNCTION:
|
||||||
{
|
{
|
||||||
Dst check = dst_table_get(dst_vm_registry, x);
|
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);
|
return dst_formatc("<cfunction %V>", check);
|
||||||
}
|
}
|
||||||
goto fallthrough;
|
goto fallthrough;
|
||||||
|
Loading…
Reference in New Issue
Block a user