diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 2db0c24..f68276a 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2122,7 +2122,7 @@ const_type (get syp (+ 3 idx_const)), const_value (get syp (+ 5 idx_const)), ] - (assoc-in amb [4 1 1] [const_name ['const const_type] const_value]) + (assoc-in amb [4 1 (count (get ctx 1))] [const_name ['const const_type] const_value]) ) ) )