mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
Enable shortened methods by default
The preview flag will still work but will print a deprecation message
This commit is contained in:
parent
aae2fd363f
commit
81f5c8b354
6 changed files with 21 additions and 6 deletions
|
@ -16,7 +16,6 @@ Upcoming language changes listed by -preview=name:
|
|||
=nosharedaccess disable access to shared memory objects
|
||||
=in `in` on parameters means `scope const [ref]` and accepts rvalues
|
||||
=inclusiveincontracts 'in' contracts of overridden methods must be a superset of parent contract
|
||||
=shortenedMethods allow use of => for methods and top-level functions in addition to lambdas
|
||||
=fixImmutableConv disallow unsound immutable conversions that were formerly incorrectly permitted
|
||||
----
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue