Open moodymudskipper opened 2 years ago
inside_fun <- function(y, foo = "default) {...} outside_fun <- function(x, foo = "default) { ... inside_fun(y) # forgot to forward `foo` ! ... }
Static analysis can help us, if inside function has formal named as the outside function's formals it can bring our attention to it.
Static analysis can help us, if inside function has formal named as the outside function's formals it can bring our attention to it.