Skip to content

Enforce successful ddoc run#4972

Merged
dlang-bot merged 3 commits intodlang:masterfrom
wilzbach:enforce-successful-ddoc
Feb 26, 2017
Merged

Enforce successful ddoc run#4972
dlang-bot merged 3 commits intodlang:masterfrom
wilzbach:enforce-successful-ddoc

Conversation

@wilzbach
Copy link
Contributor

@wilzbach wilzbach commented Dec 20, 2016

Ddoc already triggers a nice warning if there's a parameter mismatch - this PR fixes the last remaining error (expect for a eponymous templates in deprecated ndslice/iteration.d).

This PR also adds adds a CI check for sth. similar to dmd -w -D -main -c -o- **/*.d, s.t. future additions we can ensure that no new violations get in ;-)

Btw I was also looking at public symbols without Returns/Params and it seems to be a lot :/

edit: bugzilla issue for public symbols without return

@wilzbach wilzbach force-pushed the enforce-successful-ddoc branch 2 times, most recently from 49288dd to 52de41e Compare December 20, 2016 06:39
@wilzbach wilzbach changed the title Enforce successful ddoc Enforce successful ddoc run Dec 26, 2016
@wilzbach wilzbach force-pushed the enforce-successful-ddoc branch from 52de41e to 425f722 Compare February 16, 2017 02:14
@wilzbach
Copy link
Contributor Author

Rebased (and FWIW I already had to fix three new ddoc warnings)

@wilzbach wilzbach force-pushed the enforce-successful-ddoc branch from 425f722 to b712452 Compare February 16, 2017 03:45
@wilzbach wilzbach added this to the 2.074.0 milestone Feb 17, 2017
@wilzbach wilzbach force-pushed the enforce-successful-ddoc branch from b712452 to 92c8de5 Compare February 17, 2017 11:42
@wilzbach
Copy link
Contributor Author

Rebased (and FWIW I already had to fix three new ddoc warnings)

A day later and already a new violation managed to sneak in :/
@JackStouffer how about closing this loop hole once and for all?

Params:
r = input range of characters, or array of characters
*/
auto ref byUTF(R)(R r)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, I don't think we want to publicly expose this

Params:
r = input range of characters, or array of characters
*/
auto ref byUTF(R)(R r)
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

@wilzbach wilzbach force-pushed the enforce-successful-ddoc branch 3 times, most recently from 28b4517 to f426876 Compare February 22, 2017 05:17
@wilzbach
Copy link
Contributor Author

@CyberShadow considering the recent ddoc failure at druntime, this might be interesting for you.

@CyberShadow
Copy link
Member

Yep, thanks :)

@CyberShadow
Copy link
Member

Instead of grepping for Deprecation: , would -de work here?

@CyberShadow
Copy link
Member

I guess not because of the ndslice exclusions?

@wilzbach
Copy link
Contributor Author

Instead of grepping for Deprecation:, would -de work here?
I guess not because of the ndslice exclusions?

Yup. I was too lazy to fix these as it will be removed soon anyways: #5187

@dlang-bot dlang-bot merged commit 86050a1 into dlang:master Feb 26, 2017
@wilzbach wilzbach deleted the enforce-successful-ddoc branch December 11, 2017 02:11
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.

4 participants