mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fixed a repl bug
This commit is contained in:
@@ -162,6 +162,7 @@ static int writeNodeCompoundToCache(Compiler* compiler, Node* node) {
|
||||
|
||||
static int writeNodeCollectionToCache(Compiler* compiler, Node* node) {
|
||||
LiteralArray* store = ALLOCATE(LiteralArray, 1);
|
||||
initLiteralArray(store);
|
||||
|
||||
//ensure each literal value is in the cache, individually
|
||||
for (int i = 0; i < node->fnCollection.count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user