We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[\Override]
1 parent 2aaaf19 commit 68265e1Copy full SHA for 68265e1
language/predefined/attributes/override.xml
@@ -7,8 +7,16 @@
7
8
<section xml:id="override.intro">
9
&reftitle.intro;
10
- <para>
11
- </para>
+ <simpara>
+ This attribute is used to indicate that a method is intended
12
+ to override a method of a parent class or that it implements
13
+ a method defined in an interface.
14
+ </simpara>
15
16
+ If no method with the same name exists in a parent class or
17
+ in an implemented interface a compile-time error will be
18
+ emitted.
19
20
</section>
21
22
<section xml:id="override.synopsis">
0 commit comments