MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / dispatch_backtracks_segments

Function dispatch_backtracks_segments

codegraph-kernel/src/cfnptr.rs:1278–1283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1276 }
1277
1278 #[test]
1279 fn dispatch_backtracks_segments() {
1280 let f = facts("int go(struct c *x){ x->cmd->proc(1); tbl[i](2); (*ops[k])(3); }");
1281 assert!(f.dispatch_fields.contains(&"proc".to_string()));
1282 assert!(f.array_dispatch_names.contains(&"tbl".to_string()));
1283 assert!(f.array_dispatch_names.contains(&"ops".to_string()));
1284 }
1285
1286 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected