From 9cefbf33cf96a0f7c439507e7d5f4df0c9420119 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Fri, 19 Feb 2021 15:01:41 -0800 Subject: [PATCH] u3: correctly handle nock %9 with axis 1 in bytecode compilation --- pkg/urbit/noun/nock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/urbit/noun/nock.c b/pkg/urbit/noun/nock.c index 06aab9b986..aca0310301 100644 --- a/pkg/urbit/noun/nock.c +++ b/pkg/urbit/noun/nock.c @@ -1382,7 +1382,7 @@ _n_comp(u3_noun* ops, u3_noun fol, c3_o los_o, c3_o tel_o) case 9: u3x_cell(arg, &hed, &tel); - if ( 3 == u3qc_cap(hed) ) { + if ( (1 == hed) || (3 == u3qc_cap(hed)) ) { u3_noun mac = u3nq(7, u3k(tel), 2, u3nt(u3nc(0, 1), 0, u3k(hed))); tot_w += _n_comp(ops, mac, los_o, tel_o); u3z(mac);