]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix typo
authorfennecdjay <fennecdjay@gmail.com>
Sat, 16 Jul 2022 15:44:38 +0000 (17:44 +0200)
committerfennecdjay <fennecdjay@gmail.com>
Sat, 16 Jul 2022 15:44:38 +0000 (17:44 +0200)
src/lib/opfunc.c

index f9a46ce28f73378e2e6d627cd8f07fa9fca5ea52..50cb17eff3450ce66d57e84255ad861f5b1f9131 100644 (file)
@@ -120,7 +120,7 @@ OP_CHECK(opck_new) {
   DECL_ON(const Type, t, = known_type(env, unary->ctor.td));
   if(array) {
     const Type base = array_base(t);
-    if(GET_FLAG(base, abstract)) CHECK_BB(abstract_array(env, array));
+    if(GET_FLAG(base, abstract)) CHECK_BN(abstract_array(env, array));
   }
   CHECK_BN(ensure_traverse(env, t));
   if (type_ref(t))