Update target-typed-default.md

This commit is contained in:
Julien Couvreur 2019-07-30 13:23:29 -07:00 committed by GitHub
parent 645afbd761
commit f7952cdddf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ This is applicable in a number of scenarios, such as:
## Detailed design
[design]: #detailed-design
A new expression is introduced, the *default* literal. An expression with this classification can be implicitly converted to any type, by a *default-or-null literal conversion*.
A new expression is introduced, the *default* literal. An expression with this classification can be implicitly converted to any type, by a *default literal conversion*.
The inference of the type for the *default* literal works the same as that for the *null* literal, except that any type is allowed (not just reference types).