You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(native): compute complexity/cfg for prototype method definitions
`emit_js_prototype_method` and `extract_js_prototype_object_literal`
were emitting `complexity: None` / `cfg: None` for every function-
expression and method_definition RHS, unlike every other method/
function handler in the Rust extractor.
Call `compute_all_metrics` and `build_function_cfg` at both sites.
Add assertions to the 3 affected prototype unit tests to guard this.
Closes#1340
0 commit comments