diff --git a/tests/ClassFixture.cpp b/tests/ClassFixture.cpp index 4368ef80..c369cb30 100644 --- a/tests/ClassFixture.cpp +++ b/tests/ClassFixture.cpp @@ -119,7 +119,7 @@ ClassFixture::ClassFixture() auto addIndexableClass = [&arena, &globals](const char* className, TypeId keyType, TypeId returnType) { TypeId indexableClassMetaType = arena.addType(TableType{}); TypeId indexableClassType = - arena.addType(ClassType{className, {}, nullopt, indexableClassMetaType, {}, {}, "Test", TableIndexer{keyType, returnType}}); + arena.addType(ClassType{className, {}, nullopt, indexableClassMetaType, {}, {}, "Test", {}, TableIndexer{keyType, returnType}}); globals.globalScope->exportedTypeBindings[className] = TypeFun{{}, indexableClassType}; };