Skip to content

Commit 3db7641

Browse files
committed
WIP
1 parent 5d4ead6 commit 3db7641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

working/4200-metaobjects/feature-specification.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ 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
493493
includes a member signature which is a method with the name `call` with
494-
return type `X` is treated as `X.call`.
494+
return type `X` or a subtype thereof 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

0 commit comments

Comments
 (0)