•Type for namespaces

This commit is contained in:
dzaima 2021-05-29 14:47:42 +03:00
parent 837a69b3aa
commit aa9cd8f514

View File

@ -11,6 +11,7 @@ B type_c1(B t, B x) {
else if (isFun(x)) r = 3;
else if (isMd1(x)) r = 4;
else if (isMd2(x)) r = 5;
else if (isNsp(x)) r = 6;
if (r==-1) { print(x); err(": getting type"); }
decR(x);
return m_i32(r);