[Issue 14526] GetOptException DDOC needs cleanup

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14526

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 14526] GetOptException DDOC needs cleanup

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14526

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/c1276c12dd65d4f4080ac1d642b17936dc2b35d3
fix Issue 14526 - GetOptException DDOC needs cleanup

https://github.com/D-Programming-Language/phobos/commit/307ba5fb9dd16d88d84e3ea7249bed03476c1c3d
Merge pull request #3256 from CyberShadow/pull-20150505-080610-14526

fix Issue 14526 - GetOptException DDOC needs cleanup

--


[Issue 14549] isVirtualMethod does not work well with Github DMD

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14549

Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull, rejects-valid
   Hardware|x86_64  |All
 OS|Linux   |All

--- Comment #1 from Kenji Hara  ---
https://github.com/D-Programming-Language/dmd/pull/4635

--


[Issue 14549] isVirtualMethod does not work well with Github DMD

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14549

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||thecybersha...@gmail.com
   Severity|normal  |regression

--


[Issue 14550] New: Ditto'ed function documentation should merge parameter lists

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14550

  Issue ID: 14550
   Summary: Ditto'ed function documentation should merge parameter
lists
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: and...@erdani.com

Consider:

/**
Creates an array of $(D T) using $(D alloc). Lorem ipsum...

Params:
alloc = the allocator used for fetching memory
length = the length of the created array
init = the value used for initializing array elements
range = the range used for initializing array elements
*/
T[] makeArray(T, Allocator)(auto ref Allocator alloc, size_t length);
/// Ditto
T[] makeArray(T, Allocator)(auto ref Allocator alloc, size_t length, auto ref T
init); 
/// Ditto
T[] makeArray(T, Allocator, R)(auto ref Allocator alloc, R range) if
(isForwardRange!R); 
/// Ditto
T[] makeArray(T, Allocator, R)(auto ref Allocator alloc, R range) if
(isInputRange!R && !isForwardRange!R);

The idea here is that the parameters have disjoint names which allows the
reader to easily distinguish where each applies. That makes for compact
documentation that avoids repeating the opening (or awkwardly refer to it "like
above, but...").

Currently this setup issues warnings during compilation and lists init and
range without a type. It should "understand" and list them properly.

--


[Issue 13270] ddoc can't find parameters of ditto'd function overloads

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13270

--- Comment #5 from Ivan Timokhin  ---
*** Issue 14550 has been marked as a duplicate of this issue. ***

--


[Issue 14550] Ditto'ed function documentation should merge parameter lists

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14550

Ivan Timokhin  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Ivan Timokhin  ---


*** This issue has been marked as a duplicate of issue 13270 ***

--


[Issue 13270] ddoc can't find parameters of ditto'd function overloads

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13270

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||preapproved

--- Comment #6 from Andrei Alexandrescu  ---
Well looks like this is a popular duplicate :o). I preapproved it. Who wanna
try at it?

--


[Issue 14551] New: scope(failure) block causes bloat in nothrow functions

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14551

  Issue ID: 14551
   Summary: scope(failure) block causes bloat in nothrow functions
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: and...@erdani.com

Consider the example shown in http://goo.gl/EY3o7p. There, simply adding an
empty scope(failure) block causes an increase in generated code. However, the
function is statically known to not throw so the entire scope(failure)
statement can be eliminated in the front-end.

--


[Issue 14546] "ClockType.uptime is not supported by MonoTimeImpl on this system"

2015-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14546

Jonathan M Davis  changed:

   What|Removed |Added

 CC||issues.dl...@jmdavisprog.co
   ||m

--- Comment #1 from Jonathan M Davis  ---
It must be an issue related to version(CoreDdoc), since ClockType.uptime
doesn't even exist on Linux. I guess that MonoTimeImpl needs to be
version(CoreDdoc)-ed as well.

--