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

Document methods after definition. #12496

Merged
merged 1 commit into from
Aug 10, 2015

Conversation

MichaelHatherly
Copy link
Member

No description provided.

@@ -161,7 +161,7 @@ c,r,res = test_complete(s)

s = "\\a"
c, r, res = test_complete(s)
"\\alpha" in c
("\\alpha" in c)
Copy link
Member Author

Choose a reason for hiding this comment

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

Some how this line was being treated as a docstring... not sure what's up there.

Copy link
Contributor

Choose a reason for hiding this comment

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

worth a new issue?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, was trying to reduce to something reproducible. I'll open one shortly. (Edit: #12501)

@MichaelHatherly
Copy link
Member Author

cc @one-more-minute, @yuyichao.

@yuyichao
Copy link
Contributor

yuyichao commented Aug 6, 2015

I would still prefer the quoted syntax since it can just be treated as documenting a value. It doesn't conflict with this though so we could support both.

@MichaelHatherly
Copy link
Member Author

I'm fine with either really. This way was simpler to add, no special casing as with the macro version.

@MikeInnes
Copy link
Member

LGTM

@yuyichao yuyichao added the docsystem The documentation building system label Aug 6, 2015
@MichaelHatherly
Copy link
Member Author

Rebased to remove the workaround needed in test/replcompletions.jl, thanks to @yuyichao's fix in 77c6ffc.

MikeInnes added a commit that referenced this pull request Aug 10, 2015
@MikeInnes MikeInnes merged commit 8b1ae03 into JuliaLang:master Aug 10, 2015
@MikeInnes
Copy link
Member

Nice work as always

@MichaelHatherly
Copy link
Member Author

Thanks

@MichaelHatherly MichaelHatherly deleted the mh/docmethods branch August 10, 2015 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants