Add multiple untyped declaration example for rubberduckvba.com #5829
Comments
This example should also be added to Since the website content is automatically generated from the xml-doc comments, this example, together with the corresponding examples not triggering the inspection, should be added to the xml-docs. |
IMO the existing examples should remain, and an additional two (?) examples would show the "more common" case with implicit variants (perhaps reorder the examples to put the new ones first); the reason this particular example is specifying explicit data types is because we want the emphasis to be on what triggers this inspection - implicit variant declarations being flagged by a separate inspection with its own examples. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Justification
It's much more common to see the code below:
than it is to see:
This is a very common pitfall. Example code in a MultipleDeclarations inspection that looks more like what new programmers would write can help those seeing it understand the inspection.
Description
Add an example with multiple declarations on a single line without typing.
The text was updated successfully, but these errors were encountered: