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 }}
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
If a source file mistakenly uses the plural form of the pragmas - attribute, method, event, property - the default case in the switch statement is invoked in the parse method. This results in a key being used that conflicts with the computed plural form of the pragma. The result is that instead of the consumer of the document seeing an Array for the pragma values, a string is returned.
Because the code converts "attribute" to "attributes", etc, the plural form used within a document source should be treated as a no-op so that the author will address the error in their documentation.