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
{{ message }}
Repository navigation
Reanalyze reports issues that are incorrect for Rescript 12 #8302
When used by two components: One using the optional argument and one not using the optional argument, you get this output when running yarn rescript-tools reanalyze -dce:
Warning Redundant Optional Argument
/.../src/App.res:42:5-69
optional argument action of function ComponentUsingAction.dispatchNotification is always supplied (1 calls)
Warning Unused Argument
/.../src/App.res:57:5-69
optional argument action of function ComponentNotUsingAction.dispatchNotification is never used
Warning Unused Argument
/.../src/App.res:13:5-289
optional argument action of function NotificationProvider.dispatchNotification is never used
Warning Unused Argument
/../src/App.res:23:3-75
optional argument action of function NotificationProvider.useNotification is never used
Analysis reported 4 issues (Warning Redundant Optional Argument:1, Warning Unused Argument:3)
where as running the same command and the same code in a Rescript 11 project gives the output:
Activity