1
0
Fork 0

test func "boolean?"

This commit is contained in:
Alex Kotov 2023-05-04 20:57:10 +04:00
parent f45261214f
commit 23fbcd8877
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 80 additions and 1 deletions

View file

@ -33,7 +33,7 @@ struct Object *Object_new_boolean(const bool boolean)
struct Object *Object_new_char(const char chr)
{
struct Object *const object = new(TYPE_BOOLEAN);
struct Object *const object = new(TYPE_CHAR);
object->chr = chr;
return object;
}