Skip to content

Commit d3a9810

Browse files
Update library/src/scala/quoted/Quotes.scala
Co-authored-by: Guillaume Martres <[email protected]>
1 parent 91a6b57 commit d3a9810

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4373,15 +4373,10 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
43734373
/** Is this symbol `abstract` */
43744374
def Abstract: Flags
43754375

4376-
/** Is this symbol is labeled with of abstract & override
4376+
/** Is this an abstract override method?
43774377
*
4378-
* The override modifier has an additional significance when combined with the abstract modifier.
4379-
* That modifier combination is only allowed for value members of traits.
4380-
*
4381-
* We call a member MM of a template incomplete if it is either abstract (i.e. defined by a declaration), or it is labeled abstract and override and every member overridden by MM is again incomplete.
4382-
*
4383-
* Note that the abstract override modifier combination does not influence the concept whether a member is concrete or abstract.
4384-
* A member is abstract if only a declaration is given for it; it is concrete if a full definition is given.
4378+
* This corresponds to a definition declared as "abstract override def" in the source.
4379+
* See https://stackoverflow.com/questions/23645172/why-is-abstract-override-required-not-override-alone-in-subtrait for examples.
43854380
*/
43864381
@experimental def AbsOverride: Flags
43874382

0 commit comments

Comments
 (0)