X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=templates%2Fprogram2.c;fp=templates%2Fprogram2.c;h=d22d595d8c1768ed8bb347106025f168173044a1;hp=679bbfb65124c920f28b181e873f3e00a9c95839;hb=c4de9dca8a54bb5eb611a87b4d9fe36b0fe9a0b1;hpb=4f86ad3f093ca0c51e77a28b208e7751629d4948 diff --git a/templates/program2.c b/templates/program2.c index 679bbfb..d22d595 100644 --- a/templates/program2.c +++ b/templates/program2.c @@ -131,7 +131,7 @@ void callBuiltinField(Thread* thread, size_t argumentCount) { assert(!Stack_isEmpty(&(thread->stack))); Object key = Stack_pop(&(thread->stack)); - assert(key.type == STRING); // TODO Make this a symbol + assert(key.type == SYMBOL); assert(!Stack_isEmpty(&(thread->stack))); Object structure = Stack_pop(&(thread->stack));