-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
Conv missing doc #811
Conv missing doc #811
Conversation
|
I think almost of the ddoc is still correct, but following example code does not work with current int[string][double[int[]]] a;
auto b = to!(short[wstring][string[double[]]])(a);I think this is a bug of |
|
The commit in question added some stuff, but regarding the current pull, it merely changed a It is a bit hard to see, since the diff marks at as removed line 108, then added line 366. It feels like a typo, but at the same time, it is not the kind of typo you'd do accidentally. I can confirm that: int[string][double[int[]]] a; auto b = to!(short[wstring][string[double[]]])(a); Doesn't work. What should I do about that?
Tempted to do nothing and leave as is, IMO. |
I agree, therefoe I'd like to answer to @andralex .
/**
aaa
xxx
*/
template to(T) { ... }to /**
aaa
*/ /*
xxx
*/
template to(T) { ... }
|
|
Filed the bug: http://d.puremagic.com/issues/show_bug.cgi?id=8705 I'll wait for feedback from @andralex before adding any change. |
|
As far as I remember I disabled doc generation for a mundane reason (finding a missing paren in the documentation or something) so this diff is good, thanks. I think it would be great to also fix the bug revealed by it before 2.061. @monarchdodra, would you like to do the honors? Thanks! |
|
I looked a bit harder at the issue. It is not solveable without first fixing a new issue: http://d.puremagic.com/issues/show_bug.cgi?id=8737 I think this is a deeper dmd issue. Could you someone take a peak at it? I'm not sure where to go from here. |
I think I got it actually. EDIT: Oh yeah. Got it! Will make the fix tomorrow. |
There is a huge bloc of documentation regarding "to", that doesn't show up in http://dlang.org/phobos/std_conv.html
This pull request makes it appear.