@@ -2668,7 +2668,8 @@ static void emit_service_edge(cbm_gbuf_t *gbuf, const cbm_gbuf_node_t *source,
26682668static void emit_xlang_refused_route (cbm_gbuf_t * gbuf , const cbm_gbuf_node_t * source ,
26692669 const CBMCall * call , const char * module_qn ,
26702670 const cbm_registry_t * registry , const cbm_gbuf_t * main_gbuf ,
2671- const char * * imp_keys , const char * * imp_vals , int imp_count ) {
2671+ const char * * imp_keys , const char * * imp_vals , int imp_count ,
2672+ const char * route_mount ) {
26722673 if (cbm_service_pattern_route_method (call -> callee_name ) == NULL ) {
26732674 return ;
26742675 }
@@ -2680,7 +2681,7 @@ static void emit_xlang_refused_route(cbm_gbuf_t *gbuf, const cbm_gbuf_node_t *so
26802681 const char * route_path = find_route_path_in_args (call , & handler_ref );
26812682 if (route_path ) {
26822683 emit_route_registration (gbuf , source , call , route_path , handler_ref , module_qn , registry ,
2683- main_gbuf , imp_keys , imp_vals , imp_count );
2684+ main_gbuf , imp_keys , imp_vals , imp_count , route_mount );
26842685 }
26852686}
26862687
@@ -3259,7 +3260,7 @@ static void resolve_file_calls(resolve_ctx_t *rc, resolve_worker_state_t *ws, CB
32593260 * CALLS edge across a language boundary. A route registration
32603261 * behind the refused binding still gets its Route. */
32613262 emit_xlang_refused_route (ws -> local_edge_buf , source_node , call , module_qn , rc -> registry ,
3262- rc -> main_gbuf , imp_keys , imp_vals , imp_count );
3263+ rc -> main_gbuf , imp_keys , imp_vals , imp_count , route_mount );
32633264 continue ;
32643265 }
32653266 if (!target_node || source_node -> id == target_node -> id ) {
0 commit comments