[Issue 7439] Compound assignment causes segmentation fault

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7439


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #2 from yebblies yebbl...@gmail.com 2012-02-20 18:57:26 EST ---
Fixed D2:
https://github.com/D-Programming-Language/dmd/commit/34cb3dec9de6c1c01850447c29fc2bc81d386382

Can't reproduce with D1.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2422] (D1 only) Type is turned into type tuple in variadic template

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2422



--- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-02-19 23:57:34 PST ---
Same as bug 3092?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2422] (D1 only) Type is turned into type tuple in variadic template

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2422


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #3 from yebblies yebbl...@gmail.com 2012-02-20 19:05:32 EST ---
Yeah.

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3092] Indexing a tuple produces a tuple containing the indexed element

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3092



--- Comment #16 from yebblies yebbl...@gmail.com 2012-02-20 19:05:32 EST ---
*** Issue 2422 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3563] Enum values returned by ref from a function trigger compiler error.

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3563


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
   Platform|Other   |All
Version|2.036   |D2
 Resolution||FIXED
 OS/Version|Linux   |All


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-20 19:10:09 EST ---
Works with current D2 (2.058).
This is a duplicate, I just don't know where the other bug report is.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5181] (D1 only) Excess cast on in-place operation op= involving conversion

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5181



--- Comment #3 from github-bugzi...@puremagic.com 2012-02-20 00:43:37 PST ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4b3db308691690261d8a27a15bd6537d0567ecc1
fix Issue 5181 - Excess cast on in-place operation op= involving conversion

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5181] (D1 only) Excess cast on in-place operation op= involving conversion

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5181


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3354] invalid number of args accepted for 1/2 arg floating point instructions

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3354



--- Comment #2 from github-bugzi...@puremagic.com 2012-02-20 00:58:23 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/a6d8be2ab3092d7d7e0d159a8cd0bdac7c234176
Merge pull request #443 from yebblies/issue3354

There is no two argument version of fstp
(That form is in some of the old Intel manuals, but it's redundant).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3713] Tail call optimization not enabled with the ?: operator

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3713


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords|performance |pull, wrong-code
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-20 21:43:14 EST ---
https://github.com/D-Programming-Language/dmd/pull/745

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7551] New: Regex parsing bug for right bracket in character class

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7551

   Summary: Regex parsing bug for right bracket in character class
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Phobos
AssignedTo: nob...@puremagic.com
ReportedBy: mag...@hetland.org


--- Comment #0 from Magnus Lie Hetland mag...@hetland.org 2012-02-20 03:06:36 
PST ---
It seems that a bug has appeared for charsets in the std.regex. In previous
versions, a right bracket could be included in a character set by placing it
first, as is the case in many other languages/libraries. In the current version
(I'm using the canned DMD 2.058 for OS X), that doesn't work:

import std.regex;
void main() {
auto r = regex([]]);
}

This gives the following exception:

std.regex.RegexException@/usr/share/dmd/src/phobos/std/regex.d(1951): wrong
CodepointSet
Pattern with error: `[]` --HERE-- `]`

This should probably be permitted, as a least surprise practice, and to
preserve compatibility with older versions. (It doesn't seem to be explicitly
documented in the standard library docs, though. Then again, as far as I can
see, no other mechanism for including right brackets in charsets is documented
either.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5554] [qtd] Covariance detection failure

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5554


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||pull, rejects-valid
 CC||yebbl...@gmail.com
   Platform|Other   |All
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com
 OS/Version|Linux   |All


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-20 22:18:50 EST ---
https://github.com/D-Programming-Language/dmd/pull/746

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2926] bug in alias this with mutually recursive structs

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2926


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
   Platform|x86 |All
Version|2.000   |D2
 Resolution||WORKSFORME
 OS/Version|Linux   |All


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-20 22:24:40 EST ---
This seems to work in dmd 2.058

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3525] Override keyword indirect inheritance of many interfaces

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3525


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||WORKSFORME


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-20 22:36:40 EST ---
Seems to work with dmd 2.058 and 1.072

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3068] concatenation operator doesn't like typed named enums

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3068


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||yebbl...@gmail.com
Version|1.045   |D1  D2
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-20 23:01:10 EST ---
https://github.com/D-Programming-Language/dmd/pull/747

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3354] invalid number of args accepted for 1/2 arg floating point instructions

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3354



--- Comment #3 from github-bugzi...@puremagic.com 2012-02-20 04:18:59 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/37631fc1eae9884d05f6e8d3c6f381dfb69bfdc9
Merge pull request #444 from yebblies/issue3354

Missed one.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7552] New: Cannot get and combine a part of overloaded functions

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7552

   Summary: Cannot get and combine a part of overloaded functions
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: DMD
AssignedTo: nob...@puremagic.com
ReportedBy: k.hara...@gmail.com


--- Comment #0 from Kenji Hara k.hara...@gmail.com 2012-02-20 04:47:55 PST ---
Extracting a function symbol from overloads by __traits(getOverloads), and
combining them by alias declaration should generate new overloads. See
following code.


template TypeTuple(T...){ alias T TypeTuple; }
template Id(  T){ alias T Id; }
template Id(alias A){ alias A Id; }

struct S
{
static void foo(){}
static void foo(int){}
}

struct T
{
alias TypeTuple!(__traits(getOverloads, S, foo)) FooInS;
alias FooInS[0] foo;// should be S.foo()
static void foo(string){}
}

struct U
{
alias TypeTuple!(__traits(getOverloads, S, foo)) FooInS;
alias FooInS[1] foo;// should be S.foo(int)
static void foo(string){}
}

void main()
{
alias TypeTuple!(__traits(getOverloads, S, foo)) FooInS;
static assert(FooInS.length == 2);
  FooInS[0]();
static assert(!__traits(compiles, FooInS[0](0)));
static assert(!__traits(compiles, FooInS[1]()));
  FooInS[1](0);

  Id!(FooInS[0])();
static assert(!__traits(compiles, Id!(FooInS[0])(0)));
static assert(!__traits(compiles, Id!(FooInS[1])()));
  Id!(FooInS[1])(0);

alias TypeTuple!(__traits(getOverloads, T, foo)) FooInT;
static assert(FooInT.length == 2);  // fail
  FooInT[0]();
static assert(!__traits(compiles, FooInT[0](0)));
static assert(!__traits(compiles, FooInT[0]()));
static assert(!__traits(compiles, FooInT[1]()));
static assert(!__traits(compiles, FooInT[1](0)));   // fail
  FooInT[1]();// fail

alias TypeTuple!(__traits(getOverloads, U, foo)) FooInU;
static assert(FooInU.length == 2);
static assert(!__traits(compiles, FooInU[0]()));
  FooInU[0](0);
static assert(!__traits(compiles, FooInU[0]()));
static assert(!__traits(compiles, FooInU[1]()));
static assert(!__traits(compiles, FooInU[1](0)));
  FooInU[1]();
}


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7552] Cannot get and combine a part of overloaded functions

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7552


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||pull


--- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-02-20 05:02:37 PST ---
https://github.com/D-Programming-Language/dmd/pull/748

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3431] Automatic deduction of anonymous delegate signatures

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3431


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-21 02:29:08 EST ---
This works now, due to the recent improvements in delegate literal inference
and conversions. (dmd 2.058)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1149


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||yebbl...@gmail.com
Version|1.012   |D1  D2
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-21 02:25:01 EST ---
https://github.com/D-Programming-Language/dmd/pull/749

This makes the code generated for arrays identical to the code for pointers.

The pointer is still reloaded before every assignment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3434] +f(); should be an invalid statement.

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3434


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

 CC||yebbl...@gmail.com


--- Comment #1 from yebblies yebbl...@gmail.com 2012-02-21 02:39:46 EST ---
Why?  It does _nothing_ and doesn't survive beyond semantic.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3630] bad error location in has no effect in expression error

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||yebbl...@gmail.com
Version|1.051   |D1  D2
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com
   Severity|normal  |major


--- Comment #3 from yebblies yebbl...@gmail.com 2012-02-21 02:48:32 EST ---
https://github.com/D-Programming-Language/dmd/pull/750

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7460] std.windows.registry reports a false exception message

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7460


kekeni...@yahoo.co.jp changed:

   What|Removed |Added

 Status|NEW |RESOLVED
Version|D1  D2 |D2
 Resolution||FIXED


--- Comment #4 from kekeni...@yahoo.co.jp 2012-02-20 07:57:33 PST ---
I confirmed it is fixed at D2.059head.
So I turn the target version into D2 and close the issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6799] ICE(type.c) involving AAs and pointers to structs

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6799



--- Comment #2 from Benjamin Thaut c...@benjamin-thaut.de 2012-02-20 09:13:53 
PST ---
This only seems to happen when passing a struct to remove by value. If you pass
it by reference everything is fine.

Reduced repro case + workaround:

struct ChunkLoc {}

ChunkLoc Get()
{
  return ChunkLoc();
}

int main(string[] args)
{
  int[ChunkLoc] aa;
  aa.remove(Get());

  //workaround
  //auto value = Get();
  //aa.remove(value);
  return 0;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7553] New: auto template param triggers mixin conflict

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7553

   Summary: auto template param triggers mixin conflict
   Product: D
   Version: D2
  Platform: x86_64
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: DMD
AssignedTo: nob...@puremagic.com
ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer ellery-newco...@utulsa.edu 2012-02-20 
12:38:40 PST ---
dmd 2.058

the code:

template Foo(){
struct Range{
}
}
template Biz(){
struct Range{
}
}

class Bar{
mixin Foo!() index0;
mixin Biz!() index1;
auto to_range(Range)(Range r)
{
}

}

void main(){
auto r2 =Bar.to_range(1);
}

the fireworks:

test.d(13): Error: test.Bar.Foo!().Range at test.d(2) conflicts with
test.Bar.Biz!().Range at test.d(6)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7536] ctfeAdrOnStack triggered

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7536



--- Comment #1 from github-bugzi...@puremagic.com 2012-02-20 12:57:59 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/be33306a36507c5d111c292e973569dc2ef5e093
7536 ctfeAdrOnStack triggered

Fix issue 7536 - ctfeAdrOnStack triggered.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3952] pragma(msg,...) has bugs + alternative idea

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3952



--- Comment #9 from github-bugzi...@puremagic.com 2012-02-20 13:52:07 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/52494246e8f7ac08c3f5f40d379ced763e8103e3
fix Issue 3952 part 4: Add __ctfeWrite and __ctfeWriteln.

This is the druntime part of the fix.

https://github.com/D-Programming-Language/druntime/commit/58afd8b349567873777387119dc36a9e62e79457
Merge pull request #155 from kennytm/bug3952d_ctfeWriteln_again

fix Issue 3952 part 4: Add __ctfeWrite and __ctfeWriteln.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7554] New: Immutable function pointer arguments too

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7554

   Summary: Immutable function pointer arguments too
   Product: D
   Version: D2
  Platform: x86
OS/Version: Windows
Status: NEW
  Keywords: rejects-valid
  Severity: normal
  Priority: P2
 Component: DMD
AssignedTo: nob...@puremagic.com
ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-02-20 14:51:48 PST ---
This problem may be correlated to Issue 7500

This code doesn't compile because 'foo' is mutable:


T outer(T)(T function(in T) pure foo) pure {
 pure int inner() {
 return foo(5);
 }
 return inner();
}
int sqr(in int x) pure {
 return x * x;
}
void main() {
 assert(outer(sqr) == 25);
}


test.d(3): Error: pure nested function 'inner' cannot access mutable data 'foo'
test.d(11): Error: template instance test.outer!(int) error instantiating


But it doesn't work if you add an 'immutable':


T outer(T)(immutable T function(in T) pure foo) pure {
 pure int inner() {
 return foo(5);
 }
 return inner();
}
int sqr(in int x) pure {
 return x * x;
}
void main() {
 assert(outer(sqr) == 25);
}


test.d(11): Error: template test.outer(T) cannot deduce template function from
argument types !()(int function(const(int) x) pure)



This compiles, but it's not nice:


int sqr(in int x) pure {
 return x * x;
}
immutable sqrPtr =sqr;
auto outer(typeof(sqrPtr) foo) pure {
 pure int inner() {
 return foo(5);
 }
 return inner();
}
void main() {
 assert(outer(sqrPtr) == 25);
}



A better workaround, found by Timon Gehr:

T outer(T)(T function(in T) pure foo) pure {
 immutable fooTick = foo;
 pure int inner() {
 return fooTick(5);
 }
 return inner();
}
int sqr(in int x) pure {
 return x * x;
}
void main() {
 assert(outer(sqr) == 25);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7500] [ICE] (template.c line 5287) with immutable lambda function

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7500



--- Comment #1 from bearophile_h...@eml.cc 2012-02-20 14:53:25 PST ---
See also issue 7554

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7536] ctfeAdrOnStack triggered

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7536


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #2 from Walter Bright bugzi...@digitalmars.com 2012-02-20 
15:14:05 PST ---
For D1, too. https://github.com/D-Programming-Language/dmd/pull/751

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7552] Cannot get and combine a part of overloaded functions

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7552



--- Comment #2 from github-bugzi...@puremagic.com 2012-02-20 15:15:51 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2d23bfa74395340adf720c406678604b9704915d
Merge pull request #748 from 9rnsr/fix7552

Issue 7552 - Cannot get and combine a part of overloaded functions

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7555] New: ddoc whitespace issues due to version tags

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7555

   Summary: ddoc whitespace issues due to version tags
   Product: D
   Version: D1  D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: websites
AssignedTo: nob...@puremagic.com
ReportedBy: bra...@puremagic.com


--- Comment #0 from Brad Roberts bra...@puremagic.com 2012-02-20 16:08:50 PST 
---
For example: http://dlang.org/lex.html

StringLiteral:
WysiwygString
AlternateWysiwygString
DoubleQuotedString

HexString
   DelimitedString
TokenString 

From lex.dd:

$(GNAME StringLiteral):
$(GLINK WysiwygString)
$(GLINK AlternateWysiwygString)
$(GLINK DoubleQuotedString)
$(V1
$(GLINK EscapeSequence))
$(GLINK HexString)
$(V2
$(GLINK DelimitedString)
$(GLINK TokenString))

This is repeated numerous times throughout lex.dd and likely anywhere there's
version specific blocks of grammar.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7552] Cannot get and combine a part of overloaded functions

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7552


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7550] Missing AVX instruction VPMULDQ

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7550



--- Comment #1 from github-bugzi...@puremagic.com 2012-02-20 16:19:54 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/fd380772eb33862f50274d7e45adec665d20fc8d
Merge pull request #744 from Safety0ff/avx-fix

Issue 7550 – Missing AVX instruction VPMULDQ

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7550] Missing AVX instruction VPMULDQ

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7550



--- Comment #2 from github-bugzi...@puremagic.com 2012-02-20 16:59:23 PST ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/19aaf8b8762920a8394e01537117f1f088aa503c
fix Issue 7550 - Missing AVX instruction VPMULDQ

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7550] Missing AVX instruction VPMULDQ

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7550


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3630] bad error location in has no effect in expression error

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630



--- Comment #4 from github-bugzi...@puremagic.com 2012-02-20 18:24:49 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/021f361bf01f91e76ccf2bc90483bce857149b54
Merge pull request #750 from yebblies/issue3630

Issue 3630 - bad error location in has no effect in expression error

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3630] bad error location in has no effect in expression error

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630



--- Comment #5 from github-bugzi...@puremagic.com 2012-02-20 19:09:59 PST ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f3ab2da302e894498bd4cfc71cacda844c4f8120
fix Issue 3630 - bad error location in has no effect in expression error

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3630] bad error location in has no effect in expression error

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5889] Struct literal/construction should be rvalue (it binds to ref parameters)

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5889



--- Comment #14 from github-bugzi...@puremagic.com 2012-02-20 19:22:11 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/907c94de34b9d99438e7e244c556903224a0c094
Merge pull request #41 from 9rnsr/rvalue-struct-literal

Issue 5889 - Struct literal/construction should be rvalue

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3630] bad error location in has no effect in expression error

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #6 from bearophile_h...@eml.cc 2012-02-20 19:45:51 PST ---
I am seeing this, I don't know why:


dmc -c -Iroot;\dm\include  -o  -cpp  func
e = p-type-defaultInitLiteral();
^
func.c(2488) : Error: 1 actual arguments expected for function, had 0
--- errorlevel 1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3895] Appending a double[] to a float[] generates wrong code

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3895


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||accepts-invalid
 CC||yebbl...@gmail.com
   Platform|Other   |All
Version|2.041   |D2
 AssignedTo|nob...@puremagic.com|yebbl...@gmail.com
 OS/Version|Windows |All
   Severity|major   |critical


--- Comment #3 from yebblies yebbl...@gmail.com 2012-02-21 14:47:14 EST ---
Wow this is awful.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3630] bad error location in has no effect in expression error

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630



--- Comment #7 from yebblies yebbl...@gmail.com 2012-02-21 14:55:47 EST ---
(In reply to comment #6)
 I am seeing this, I don't know why:
 
 
 dmc -c -Iroot;\dm\include  -o  -cpp  func
 e = p-type-defaultInitLiteral();
 ^
 func.c(2488) : Error: 1 actual arguments expected for function, had 0
 --- errorlevel 1

Because Walter merged pull 41 which added that code.  I'm glad I took away the
default parameter, we just avoided a new missing line number bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7556] New: toUTF16z and others duplicated in rt.util.uft and std.utf

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7556

   Summary: toUTF16z and others duplicated in rt.util.uft and
std.utf
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Phobos
AssignedTo: nob...@puremagic.com
ReportedBy: yebbl...@gmail.com


--- Comment #0 from yebblies yebbl...@gmail.com 2012-02-21 14:57:46 EST ---
Having two copies is just asking for trouble.  The druntime versions should
probably be moved to core and the phobos versions turned into aliases.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 846] Error 42: Symbol Undefined mangle_of_class_template__arrayZ

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=846


kekeni...@yahoo.co.jp changed:

   What|Removed |Added

 CC||kekeni...@yahoo.co.jp


--- Comment #8 from kekeni...@yahoo.co.jp 2012-02-20 21:18:43 PST ---
(In reply to comment #6)
 $dmd testa.d testb.d

I reproduced it in Windows, with -g option.
  dmd -g testa.d testb.d

and this works. ( b,a )
  dmd -g testb.d testa.d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3895] Appending a double[] to a float[] generates wrong code

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3895



--- Comment #4 from github-bugzi...@puremagic.com 2012-02-20 21:32:37 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/5aa1b47aedf85f9e67132e5fc7a1586d5f1b293a
Merge pull request #446 from yebblies/issue3895

This only works because of a bug in dmd, and it was probably supposed to...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3895] Appending a double[] to a float[] generates wrong code

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3895



--- Comment #5 from github-bugzi...@puremagic.com 2012-02-20 21:36:19 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/4610715c33531a9d11613ab78eec6af70f0f4851
Merge pull request #156 from yebblies/issue3895

This only works because of a bug in dmd, and it was probably supposed to...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5554] [qtd] Covariance detection failure

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5554



--- Comment #2 from github-bugzi...@puremagic.com 2012-02-20 22:06:00 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/027fdbc892d7d2bd89e1d1b88accb53ca733f8de
Merge pull request #746 from yebblies/issue5554

Issue 5554 - [qtd] Covariance detection failure

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5554] [qtd] Covariance detection failure

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5554



--- Comment #3 from github-bugzi...@puremagic.com 2012-02-20 23:09:07 PST ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0c46d6921050907fe413244cbe71cfa7b93135a2
fix Issue 5554 - [qtd] Covariance detection failure

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5554] [qtd] Covariance detection failure

2012-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5554


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---