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

[WIP] Clarify section about Base.convert fall-back. #15132

Merged
merged 2 commits into from
Feb 18, 2016

Conversation

helgee
Copy link
Contributor

@helgee helgee commented Feb 18, 2016

See discussion in #15120.

constructor, while the reverse is not true. That is, defining
``Base.convert(::Type{T}, args...) = ...`` automatically defines a
constructor ``T(args...) = ...``.
``Base.convert`` *instead* of defining a constructor, because Julia
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the trailing whitespace here

Copy link
Contributor

@toivoh toivoh Feb 18, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeffBezanson
Copy link
Member

Very good, thank you.

JeffBezanson added a commit that referenced this pull request Feb 18, 2016
[WIP] Clarify section about Base.convert fall-back.
@JeffBezanson JeffBezanson merged commit fc799c3 into JuliaLang:master Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants