MSIR.0846 NameAllowed not allowed after NameRequired: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
Line 3: Line 3:
Move the <var>NameAllowed</var> parameter ahead of <var>NameRequired</var> ones, remove the <var>NameAllowed</var> from the parameter declaration, or change the <var>NameAllowed</var> to <var>NameRequired</var>.
Move the <var>NameAllowed</var> parameter ahead of <var>NameRequired</var> ones, remove the <var>NameAllowed</var> from the parameter declaration, or change the <var>NameAllowed</var> to <var>NameRequired</var>.


[[Category:Sirius Mods messages]]
[[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]]

Revision as of 16:06, 13 August 2015

The NameAllowed keyword was specified on a parameter description of a method declaration, but an earlier parameter had been specified as NameRequired. This doesn't make sense, since any parameters after a NameRequired parameter cannot be specified positionally, so they are, effectively, NameRequired.

Move the NameAllowed parameter ahead of NameRequired ones, remove the NameAllowed from the parameter declaration, or change the NameAllowed to NameRequired.