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
error[mismatched_arg_count]: this function takes 0 arguments but 1 arguments were supplied
┌─ /Users/mhargett/src/t8.lua:4:10
│
4 │ local _dispatch
│ --------- note: function defined here
·
11 │ _dispatch("foo")
│ ^^^^^^^^^^^^^^^^ expected 0 arguments
The lint is correct, and adding a parameter to the function signature silences the warning, but it should be telling me where the function was assigned -- not where it was declared.
The text was updated successfully, but these errors were encountered:
this code (heavily reduced from much larger real code):
gets this output:
The lint is correct, and adding a parameter to the function signature silences the warning, but it should be telling me where the function was assigned -- not where it was declared.
The text was updated successfully, but these errors were encountered: