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

Autolink enum cases #863

Closed
reitzig opened this issue Jul 27, 2017 · 1 comment
Closed

Autolink enum cases #863

reitzig opened this issue Jul 27, 2017 · 1 comment

Comments

@reitzig
Copy link

reitzig commented Jul 27, 2017

Say I have something like this:

/**
	Use `.bar` if you are a pirate, `.spa` if you are a landlubber.
*/
enum Foo {
	case bar, spa
}

I would expect the enum cases in the documentation comment to link to the respective cases, but they currently don't.

@johnfairh
Copy link
Collaborator

This is the same as #865. The name of enum element is just bar and needs to be referred to as `Foo.bar` from that position.

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

No branches or pull requests

2 participants