mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
Reword dmd.auto-ref-adjacent.dd (#16786)
This commit is contained in:
parent
90c4145a81
commit
97b71f1c2a
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
`auto ref` variables must have adjacent keywords `auto` and `ref`
|
Keywords `auto` and `ref` must be adjacent
|
||||||
|
|
||||||
It's now deprecated to declare `auto ref` parameters without putting those two keywords next to each other.
|
It's now deprecated to declare `auto ref` parameters without putting those two keywords next to each other.
|
||||||
This way it's clear that `auto ref` semantics are intended, rather than `ref` and `auto` semantics separately.
|
This way it's clear that `auto ref` semantics are intended, rather than `ref` and `auto` semantics separately.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue