Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation message for parametric method syntax for inner constructors #23053

Closed
KristofferC opened this issue Jul 31, 2017 · 0 comments
Closed
Assignees
Labels
kind:deprecation This change introduces or involves a deprecation

Comments

@KristofferC
Copy link
Sponsor Member

KristofferC commented Jul 31, 2017

julia> struct S{T}
           function (::Type{S{T}}){T}()
               new{T}()
           end
       end

WARNING: deprecated syntax "parametric method syntax ::Type{S{T}}{T}() around REPL[2]:3".
Use "false() where T" instead.

Hmm... :D

@KristofferC KristofferC added the kind:deprecation This change introduces or involves a deprecation label Jul 31, 2017
JeffBezanson added a commit that referenced this issue Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:deprecation This change introduces or involves a deprecation
Projects
None yet
Development

No branches or pull requests

2 participants