MSIR.0809 Disallow only valid in Public block: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 1: Line 1:
A <tt>Disallow</tt> declaration appeared in a Private block. <tt>Disallow</tt> is only intended to restrict use of <tt>New</tt> or <tt>Discard</tt> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <tt>Disallow</tt> to the Public block. Otherwise, delete the <tt>Disallow</tt> declaration.
A <tt>Disallow</tt> declaration appeared in a Private block. <tt>Disallow</tt> is only intended to restrict use of <tt>New</tt> or <tt>Discard</tt> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <tt>Disallow</tt> to the Public block. Otherwise, delete the <tt>Disallow</tt> declaration.


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

Revision as of 16:06, 13 August 2015

A Disallow declaration appeared in a Private block. Disallow is only intended to restrict use of New or Discard outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the Disallow to the Public block. Otherwise, delete the Disallow declaration.