We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4ead6 commit 3db7641Copy full SHA for 3db7641
working/4200-metaobjects/feature-specification.md
@@ -491,7 +491,7 @@ result of evaluating the type literal as an expression.*
491
492
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` with
494
-return type `X` is treated as `X.call`.
+return type `X` or a subtype thereof is treated as `X.call`.
495
496
*This implies that tear-offs and invocations of forwarders to constructors
497
can be expressed using the same syntax as statically resolved tear-offs and
0 commit comments