Skip to content

Commit 8b2cfba

Browse files
committed
WIP
1 parent b2965f8 commit 8b2cfba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

working/4200-metaobjects/feature-specification.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,15 +490,15 @@ the same member access where the receiver is parenthesized (`(X).foo()`).
490490
result of evaluating the type literal as an expression.*
491491

492492
A term of the form `X.new` where `X` is a type variable whose static type
493-
includes a member signature which is a method with the name `call` is
494-
treated as `X.call`.
493+
includes a member signature which is a method with the name `call` with
494+
return type `X` is treated as `X.call`.
495495

496496
*This implies that tear-offs and invocations of forwarders to constructors
497497
can be expressed using the same syntax as statically resolved tear-offs and
498498
invocations, e.g., `X.new` and `X.new(42)`. Note that these forms may also
499499
invoke or tear off a method named `call` in situations where this method
500-
does not forward the tear-off or invocation to a constructor. For example,
501-
it could forward to a static method named `call` for some values of `X`.*
500+
does not forward the invocation to a constructor. For example, it could
501+
forward to a static method named `call` for some values of `X`.*
502502

503503
Consider a member access whose receiver is a possibly qualified identifier
504504
that denotes a class, mixin, mixin class, or enum declaration _D_ (e.g.,

0 commit comments

Comments
 (0)