[Issue 14579] [SPEC] No specification on modifiers in TypeDelegate symbols

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

Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull
  Component|DMD |websites

--- Comment #2 from Kenji Hara  ---
https://github.com/D-Programming-Language/dlang.org/pull/996

--


[Issue 14596] Error: e2ir: cannot cast malloc(42u) of type void* to type char[]

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

Vladimir Panteleev  changed:

   What|Removed |Added

   Keywords||diagnostic
   Priority|P1  |P3
 CC||thecybersha...@gmail.com
   Severity|major   |trivial

--- Comment #1 from Vladimir Panteleev  ---
I believe this is a "soft ICE". Apart from "e2ir:" there is nothing wrong with
the error message.

--


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

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

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

https://github.com/D-Programming-Language/dmd/commit/3f95309e8d42cce1243964644de14416b1efdbad
fix Issue 13270 - ddoc can't find parameters of ditto'd function overloads

https://github.com/D-Programming-Language/dmd/commit/f02ff584165cbf98a5ab98dff1e2e92d4117c62c
Merge pull request #4639 from 9rnsr/fix13270

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

--


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

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

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

   What|Removed |Added

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

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

Walter Bright  changed:

   What|Removed |Added

Summary|DMD 2.067.1 generating  |generated 64 bit code for
   |crashing binary on OSX  |switch jump tables is wrong

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/51185a88a63762c5347b729e26ab9540c34201da
Merge pull request #4666 from WalterBright/fix14587

fix Issue 14587 - generated 64 bit code for switch jump tables is wrong

--


[Issue 14598] New: range primitives for popFront+return front

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

  Issue ID: 14598
   Summary: range primitives for popFront+return front
   Product: D
   Version: unspecified
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: c...@dawg.eu

It is a constant nuisance that a trivial combined range operation is missing
from std.range as a convenient function.
In many situations this requires pretty verbose code.

if (someCondition)
{
auto val = range.front;
range.popFront;
return val;
}

As such an operation would be used very often it seems reasonable to add them,
even though they are trivial.

I'd suggest frontPop and backPop as names.

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

--- Comment #10 from Steven Schveighoffer  ---
Awesome! Nice work everyone.

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

--- Comment #11 from Rob Pieké  ---
Wow ... that was a productive weekend! Looking forward to this working its way
into a future homebrew update! :D

--


[Issue 14183] Updates to groupBy

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

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

https://github.com/D-Programming-Language/phobos/commit/afd30b41b09b9298f56ccba19068f1fbcab6fbb5
Merge pull request #3005 from Poita/Issue14183

--


[Issue 13915] Mago doesn't handle C code very well

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

--- Comment #4 from Rainer Schuetze  ---
The lexical scope support in mago might help here. Try it in Visual D 0.3.41.

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

--- Comment #7 from Walter Bright  ---
https://github.com/D-Programming-Language/dmd/pull/4666

--


[Issue 14600] New: Lambda with body allowed as template alias argument

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

  Issue ID: 14600
   Summary: Lambda with body allowed as template alias argument
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: normal
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: johnch_a...@hotmail.com

When run, the following program compiles without error but produces no output.

void test(alias d)() {
  d();
}

void main() {
  import std.stdio : writeln;
  test!(() => { writeln("testing"); });
}

Compare to the following code, which does not compile because the => syntax is
only supposed to work with simple expressions.

void test(void delegate() d) {
  d();
}

void main() {
  import std.stdio : writeln;
  test(() => { writeln("testing"); });
}

Maybe the restriction on the => syntax not allowing bracketed expressions
should be lifted. I've spotted code on github that assumes this style does 
actually work.

--


[Issue 14539] +508KB (684KB -> 1191KB) filesize increase "Hello, world" binary

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

Andrei Alexandrescu  changed:

   What|Removed |Added

 Blocks||14599

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

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

https://github.com/D-Programming-Language/dmd/commit/4f779561f89e12ff45e30996ad3c8217eb7522e2
fix Issue 14587 - DMD 2.067.1 generating crashing binary on OSX

https://github.com/D-Programming-Language/dmd/commit/a7d1edb3c17282994c53fdc797dc3d15f3919d68
Merge pull request #4666 from WalterBright/fix14587

fix Issue 14587 - generated 64 bit code for switch jump tables is wrong

--


[Issue 13324] dynamically load libcurl at runtime

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

--- Comment #2 from Martin Nowak  ---
Also see issue 7044.

--


[Issue 14599] Re-add scratchFile after executable size regression has been fixed

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

Andrei Alexandrescu  changed:

   What|Removed |Added

   Assignee|nob...@puremagic.com|issues.dl...@jmdavisprog.co
   ||m

--


[Issue 14601] New: pthread functions aren't marked @nogc

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

  Issue ID: 14601
   Summary: pthread functions aren't marked @nogc
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: blocker
  Priority: P1
 Component: druntime
  Assignee: nob...@puremagic.com
  Reporter: alil...@gmail.com

https://github.com/D-Programming-Language/druntime/blob/e66f03494a13c7ce13bbe4c260ce689682af865e/src/core/sys/posix/pthread.d#L26

That makes it impossible to build any sort of @nogc nothrow synchronization.

--


[Issue 14599] Re-add scratchFile after executable size regression has been fixed

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

--- Comment #1 from Jonathan M Davis  ---
Lovely. This sort of thing makes it very annoying to add any functionality
that's even vaguely related to writeln, and we never organized the modules in
Phobos with the idea of minimizing what got pulled in in order to do

writeln("hello world");

Some work has been done to minimize how much the various pieces of Phobos
depend on each other, but to a great extent it's unfixable without breaking
existing code, and often, avoiding dependencies makes it a lot harder to add
new functionality. :|

--


[Issue 14599] Re-add scratchFile after executable size regression has been fixed

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

Andrei Alexandrescu  changed:

   What|Removed |Added

 Depends on||14539

--


[Issue 14587] DMD 2.067.1 generating crashing binary on OSX

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

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com
Version|unspecified |D1 & D2

--- Comment #6 from Walter Bright  ---
Great job, everyone, in tracking this one down. You guys have nailed it. It's
critical. I'll work on a fix.

--


[Issue 14596] Error: e2ir: cannot cast malloc(42u) of type void* to type char[]

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

Steven Schveighoffer  changed:

   What|Removed |Added

   Keywords|diagnostic  |ice
 CC||schvei...@yahoo.com

--- Comment #2 from Steven Schveighoffer  ---
Actually, its the presence of the e2ir filename which clues you in that it is
an ICE. I've advocated for this to generate an actual ICE assert (see
https://issues.dlang.org/show_bug.cgi?id=13810), but it seems this is not
something the devs wish to incorporate, or it's too difficult for the benefit.

Essentially, the error is happening in the wrong part of the compiler (if it's
supposed to be an error at all).

--


[Issue 14587] generated 64 bit code for switch jump tables is wrong

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

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

   What|Removed |Added

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

--


[Issue 14599] New: Re-add scratchFile after executable size regression has been fixed

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

  Issue ID: 14599
   Summary: Re-add scratchFile after executable size regression
has been fixed
   Product: D
   Version: D2
  Hardware: x86
OS: Mac OS X
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: Phobos
  Assignee: nob...@puremagic.com
  Reporter: and...@erdani.com

See https://github.com/D-Programming-Language/phobos/pull/3273.

--


[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

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

--- Comment #38 from Martin Nowak  ---
Also see issue 13324 – dynamically load libcurl at runtime.

--


[Issue 14602] New: broken executable if filename contains opDispatch

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

  Issue ID: 14602
   Summary: broken executable if filename contains opDispatch
   Product: D
   Version: D2
  Hardware: x86_64
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: sigod.m...@gmail.com

Consider simplest program:
```d
void main() {}
```

Save file as, for example, `issue_with_opDispatch.d`.

```
$ dmd issue_with_opDispatch.d

$ issue_with_opDispatch.exe
sh.exe": ./issue_with_opDispatch.exe: Bad file number

$ rdmd issue_with_opDispatch.d
std.process.ProcessException@std\process.d(560): Failed to spawn new process
(The requested operation requires elevation.)

0x0043770A
0x00429B9E
0x00403F79
0x00403FF3
0x004314B3
0x004313CB
0x00424A4C
0x767B33AA in BaseThreadInitThunk
0x76F19F72 in RtlInitializeExceptionChain
0x76F19F45 in RtlInitializeExceptionChain
$
```

dmd v2.067.1

--


[Issue 14600] Lambda with body allowed as template alias argument

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

Ketmar Dark  changed:

   What|Removed |Added

   Hardware|x86_64  |All
 OS|Windows |All

--- Comment #1 from Ketmar Dark  ---
it's actually a grammar issue. what `() => { writeln("testing"); }` does is
returns `void delegate () { writeln("testing"); }`.

i.e. `=> { writeln("testing"); }` is correctly parsed as *expression* which
returns delegate.

another thing is that compiler doesn't emit warnings by default. compiling the
code with "-w" flag gives this message:

Warning: calling z01.main.__lambda1 without side effects discards return value
of type void function() @safe, prepend a cast(void) if intentional

i think that the report can be closed as "not-a-bug". we'd better spam bugzilla
with "make warnings opt-out instead of opt-in" requests. ;-)

--


[Issue 12603] [CTFE] goto does not correctly call dtors

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

Clement Courbet  changed:

   What|Removed |Added

Summary|[CTFE] Unknown bug with |[CTFE] goto does not
   |goto case.  |correctly call dtors

--


[Issue 14600] Lambda with body allowed as template alias argument

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

John Chapman  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from John Chapman  ---
You're right. I should have tested with -w.

--


[Issue 14587] [REG2.064] generated 64 bit code for switch jump tables is wrong

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

Martin Krejcirik  changed:

   What|Removed |Added

Summary|generated 64 bit code for   |[REG2.064] generated 64 bit
   |switch jump tables is wrong |code for switch jump tables
   ||is wrong

--


[Issue 14588] [REG2.067] undefined reference error while linking with -debug option to a static library.

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

Martin Krejcirik  changed:

   What|Removed |Added

Summary|undefined reference error   |[REG2.067] undefined
   |while linking with -debug   |reference error while
   |option to a static library. |linking with -debug option
   ||to a static library.

--


[Issue 14603] New: "cannot alias an expression" when opDispatch results in a template

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

  Issue ID: 14603
   Summary: "cannot alias an expression" when opDispatch results
in a template
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Keywords: rejects-valid
  Severity: normal
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: ag0ae...@gmail.com


struct S
{
template opDispatch(string name)
{
void opDispatch()() {}
}
}

alias a = S.opDispatch!"go"; /* ok */
alias b = S.go; /* 'Error: alias test.b cannot alias an expression
opDispatch!"go"' */


`S.go` should be equivalent to `S.opDispatch!"go"`.

--


[Issue 14603] "cannot alias an expression" when opDispatch results in a template

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

--- Comment #1 from ag0ae...@gmail.com ---
Probably related to issue 14604.

--


[Issue 14604] New: "cannot resolve forward reference" when opDispatch results in a template

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

  Issue ID: 14604
   Summary: "cannot resolve forward reference" when opDispatch
results in a template
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Keywords: rejects-valid
  Severity: normal
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: ag0ae...@gmail.com

Probably related to issue 14603.


struct S
{
template opDispatch(string name)
{
void opDispatch()() {}
}
}

alias a = S.opDispatch!"go"; /* ok */
version(none) alias b = S.go; /* "cannot alias an expression" - issue 14603 */
alias Identity(alias thing) = thing;
alias c = Identity!(S.opDispatch!"go"); /* ok */
alias d = Identity!(S.go); /* 'Error: template instance opDispatch!"go" cannot
resolve forward reference' */


`S.go` should be equivalent to `S.opDispatch!"go"`.

Workaround:

struct S
{
template opDispatch(string name)
{
auto impl(Args ...)(Args args) {}
alias opDispatch = impl;
}
}


--


[Issue 14605] New: RefAppender fails isOutputRange

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

  Issue ID: 14605
   Summary: RefAppender fails isOutputRange
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: Phobos
  Assignee: nob...@puremagic.com
  Reporter: ag0ae...@gmail.com


import std.range: isOutputRange;
import std.array: Appender, RefAppender;
static assert(isOutputRange!(Appender!(int[]), int)); /* passes */
static assert(isOutputRange!(RefAppender!(int[]), int)); /* fails */


Pull request on the way.

--


[Issue 11012] [TDPL] is(typeof(f) == function) fails with some functions

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

Vladimir Panteleev  changed:

   What|Removed |Added

   Keywords||spec
 CC||thecybersha...@gmail.com

--


[Issue 14602] broken executable if filename contains opDispatch

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

Ketmar Dark  changed:

   What|Removed |Added

 OS|All |Windows

--- Comment #1 from Ketmar Dark  ---
it works on GNU/Linux, so i think that this is a windows-related issue.

--


[Issue 14606] New: [REG2.067.0] Bad code with -inline and structs

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

  Issue ID: 14606
   Summary: [REG2.067.0] Bad code with -inline and structs
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: regression
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: thecybersha...@gmail.com

Crashes on Windows with -m64 -inline:

// test.d /
struct S
{
this(long stdTime)
{
_stdTime = stdTime;
}

long _stdTime;
}

S getS()
{
S sysTime = S(0);
return sysTime;
}

struct T
{
this(string)
{
uint[3] arr;
s = getS();
}

S s;
}

void main()
{
T(null);
}
///

Introduced in https://github.com/D-Programming-Language/dmd/pull/3979

--


[Issue 12102] Testing presence of member functions with same name but different signature fails

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #1 from Vladimir Panteleev  ---
Works in git master.

Fixed by https://github.com/D-Programming-Language/dmd/pull/4430

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

--


[Issue 12983] overload not recognized depending on order of declaration

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

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||xa...@xammy.info

--- Comment #5 from Vladimir Panteleev  ---
*** Issue 12102 has been marked as a duplicate of this issue. ***

--


[Issue 8181] String splitting with nonempty delim produces empty result

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WONTFIX

--- Comment #1 from Vladimir Panteleev  ---
It is too late to change the behavior of split now.

--


[Issue 8473] Guaranteed relative key-values with byKey and byValue

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #1 from Vladimir Panteleev  ---
There is now a byKeyValue:

https://github.com/D-Programming-Language/druntime/pull/1070

--


[Issue 10625] Compiler should warn or disallow using slice syntax in initialization

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

Vladimir Panteleev  changed:

   What|Removed |Added

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

--- Comment #2 from Vladimir Panteleev  ---
Slice copies now require [] on both sides (arr1[] = arr2[]) so I'm not sure how
relevant this is now.

--


[Issue 11275] Constants for setlocale are incorrect

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #1 from Vladimir Panteleev  ---


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

--


[Issue 11293] wrong locale enumerate value

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

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||frank.depr...@skynet.be

--- Comment #4 from Vladimir Panteleev  ---
*** Issue 11275 has been marked as a duplicate of this issue. ***

--


[Issue 11293] wrong locale enumerate value

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

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||johnch_a...@hotmail.com

--- Comment #5 from Vladimir Panteleev  ---
*** Issue 5589 has been marked as a duplicate of this issue. ***

--


[Issue 5589] Incorrect definitions in core.stdc.locale (Windows)

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #6 from Vladimir Panteleev  ---


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

--


[Issue 13602] Painfully long bad diagnostic on mismatched parenthesis

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

Vladimir Panteleev  changed:

   What|Removed |Added

   Keywords||diagnostic
   Priority|P1  |P3
 CC||thecybersha...@gmail.com
   Severity|normal  |minor

--


[Issue 3623] Cannot mixin templated classes with inner classes

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #1 from Vladimir Panteleev  ---
Works as of 2.065.0.

Fixed by https://github.com/D-Programming-Language/dmd/pull/3019

--


[Issue 4642] DMD should have a command-line option to ignore pragma(lib, ...)

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

Vladimir Panteleev  changed:

   What|Removed |Added

   Priority|P2  |P3
 CC||thecybersha...@gmail.com
   Severity|normal  |enhancement

--


[Issue 8611] assumeSafeAppend pure nothrow?

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #1 from Vladimir Panteleev  ---
assumeSafeAppend is now pure.

assumeSafeAppend cannot be pure, apparently:
https://github.com/D-Programming-Language/druntime/pull/747

--


[Issue 3931] [AA] Associative Arrays on repeated stress testing get progressively slower

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WONTFIX

--- Comment #1 from Vladimir Panteleev  ---
The AA implementation has changed significantly in 5 years. Reopen if this is
still relevant.

--


[Issue 5793] Types can't be inferred from template argument types

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WONTFIX

--- Comment #1 from Vladimir Panteleev  ---
I don't think D can or ever will reverse-match types to template instantiations
(finding which parameters for a template will result in a given result),
because D templates can be arbitrarily complicated.

--


[Issue 5793] Types can't be inferred from template argument types

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

--- Comment #2 from Vladimir Panteleev  ---
Simplified example:

/// test.d //
template Identity(T)
{
alias Identity = T;
}

void fun(T)(Identity!T value)
{
}

void main()
{
fun(5);
}
/

--


[Issue 4563] [module system] Error messages for missing package or missing name

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

Vladimir Panteleev  changed:

   What|Removed |Added

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

--


[Issue 7935] Struct-by-pointer field access in TypeTuple

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

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #1 from Vladimir Panteleev  ---
Is 2.063 this emits "variable n cannot be read at compile time" which is more
appropriate.

Fixed by https://github.com/D-Programming-Language/dmd/pull/1681

--


[Issue 14607] New: dmd crashes intermittently when building in 32 bit mode

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

  Issue ID: 14607
   Summary: dmd crashes intermittently when building in 32 bit
mode
   Product: D
   Version: D2
  Hardware: x86
OS: Mac OS X
Status: NEW
  Severity: major
  Priority: P1
 Component: DMD
  Assignee: nob...@puremagic.com
  Reporter: and...@erdani.com

I've been spending a fair amount of time on this, thinking the problem is with
the D program; I'd been using -run to run after compilation, but compiler
crashes even without -run. The command line is:

../dmd/src/dmd -conf= -I../druntime/import  -w -dip25 -m32  -g -debug -main
-unittest generated/osx/debug/32/libphobos2.a -defaultlib= -debuglib= -L-lcurl
-cov std/experimental/allocator/affix_allocator.d

On OSX it sometimes works, sometimes (about one in 10 times) crashes. The crash
messages:

segmentation fault  ../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m32
-g -debug -main

dmd(38716,0x7fff709b1300) malloc: *** error for object 0x101a37208: incorrect
checksum for freed object - object was probably modified after being freed.

I'm using the master dmd as of right now. Will get back when I have a reduced
test case.

--


[Issue 13996] Function for returning a temporary file with a randomly generated name where the name can be accessed

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

--- Comment #12 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/8087f354414ed39f23eec94049a1a154fcbb412c
Revert "Implement issue# 13996. Add File.tempFile."

https://github.com/D-Programming-Language/phobos/commit/c8c5a3255def4274dcc807e479f5aca1f8177cdf
Merge pull request #3273 from D-Programming-Language/revert-2956-tempFile

Revert "Implement issue# 13996. Add File.tempFile."

--