Skip to content

Commit

Permalink
Add PR number to NEWS.md for dep of inner constructor syntax (#20308). (
Browse files Browse the repository at this point in the history
#21853)

(cherry picked from commit d6a15c6)
  • Loading branch information
Sacha0 authored and tkelman committed May 14, 2017
1 parent 21d0cbe commit 5f7c9ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Language changes
```
the syntax `Foo(x) = new(x)` actually defined a constructor for `Foo{T,S}`,
i.e. the case where the type parameters are specified. For clarity, this
definition now must be written as `Foo{T,S}(x) where {T,S<:Real} = new(x)` ([#11310]).
definition now must be written as `Foo{T,S}(x) where {T,S<:Real} = new(x)`
([#11310], [#20308]).
* The keywords used to define types have changed ([#19157], [#20418]).
Expand Down Expand Up @@ -598,6 +599,7 @@ Command-line option changes
[#20248]: https://github.com/JuliaLang/julia/issues/20248
[#20249]: https://github.com/JuliaLang/julia/issues/20249
[#20268]: https://github.com/JuliaLang/julia/issues/20268
[#20308]: https://github.com/JuliaLang/julia/issues/20308
[#20321]: https://github.com/JuliaLang/julia/issues/20321
[#20327]: https://github.com/JuliaLang/julia/issues/20327
[#20328]: https://github.com/JuliaLang/julia/issues/20328
Expand Down

0 comments on commit 5f7c9ba

Please sign in to comment.