Replies: 2 comments 7 replies
-
The signature checking part doesn't consider method body at all. Doing so will break the modular design of compiler. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think it's just as important to not have a misleading signature even when parameters are not used. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This piece of code shouldn't yield a warning message:
The method parameter isn't used here, so I suggest no warning to be emitted.
Currently, the following warning is generated:
Beta Was this translation helpful? Give feedback.
All reactions