toit icon indicating copy to clipboard operation
toit copied to clipboard

The compiler should give a warning when a parameter is named like a type in interfaces/abstracts

Open floitsch opened this issue 3 years ago • 1 comments

We don't want

interface I1:
  foo int Baz

instead the user should write:

interface I1:
  foo p1/int p2/Baz

If the parameter is really called int or Baz, then one can always use /any.

floitsch avatar Feb 21 '22 10:02 floitsch

Potentially good first issue with a bit of hand-holding.

floitsch avatar Feb 21 '22 10:02 floitsch