record constructor calls in calltree

This commit is contained in:
Dmitry Vasilev
2022-12-16 18:23:55 +08:00
parent f2c906687e
commit f062056ad1
5 changed files with 85 additions and 27 deletions

View File

@@ -112,8 +112,8 @@ export class CallTree {
+ (n.fn.__location == null ? ' native' : '')
,
// TODO show `this` argument
n.fn.name
,
(n.is_new ? 'new ' : ''),
n.fn.name,
'(' ,
...join(
n.args.map(