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

List Union{...} type aliases as "Type" #1474

Merged
merged 3 commits into from
Nov 13, 2020
Merged

List Union{...} type aliases as "Type" #1474

merged 3 commits into from
Nov 13, 2020

Conversation

mortenpi
Copy link
Member

So if you do const MyAlias = Union{Foo,Bar}, it will show up as a "Type" in the docstring heading (and not "Constant"). I don't think there's any reason not to dispatch on ::Type here. Fix #1466.

@mortenpi mortenpi added this to the 0.26.0 milestone Nov 11, 2020
@mortenpi mortenpi modified the milestones: 0.26.0, 0.25.4 Nov 13, 2020
@mortenpi mortenpi merged commit f0176c5 into master Nov 13, 2020
@mortenpi mortenpi deleted the mp/unioncat branch November 13, 2020 05:52
mortenpi added a commit that referenced this pull request Nov 13, 2020
@mortenpi mortenpi mentioned this pull request Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The @autodocs macro treats Unions as constants
2 participants