Skip to content

Commit d6a15c6

Browse files
Sacha0tkelman
authored andcommitted
Add PR number to NEWS.md for dep of inner constructor syntax (#20308). (#21853)
1 parent 3c81a18 commit d6a15c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ Language changes
7373
```
7474
the syntax `Foo(x) = new(x)` actually defined a constructor for `Foo{T,S}`,
7575
i.e. the case where the type parameters are specified. For clarity, this
76-
definition now must be written as `Foo{T,S}(x) where {T,S<:Real} = new(x)` ([#11310]).
76+
definition now must be written as `Foo{T,S}(x) where {T,S<:Real} = new(x)`
77+
([#11310], [#20308]).
7778
7879
* The keywords used to define types have changed ([#19157], [#20418]).
7980
@@ -635,6 +636,7 @@ Command-line option changes
635636
[#20248]: https://github.com/JuliaLang/julia/issues/20248
636637
[#20249]: https://github.com/JuliaLang/julia/issues/20249
637638
[#20268]: https://github.com/JuliaLang/julia/issues/20268
639+
[#20308]: https://github.com/JuliaLang/julia/issues/20308
638640
[#20321]: https://github.com/JuliaLang/julia/issues/20321
639641
[#20327]: https://github.com/JuliaLang/julia/issues/20327
640642
[#20328]: https://github.com/JuliaLang/julia/issues/20328

0 commit comments

Comments
 (0)