[Issue 3682] Regression(2.038) is expression fails to match types

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

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|2.038   |D2

--


[Issue 3682] Regression(2.038) is expression fails to match types

2013-01-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682



--- Comment #11 from github-bugzi...@puremagic.com 2013-01-03 00:42:41 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/117dbe3bac35dfa2ab40de4d9f6bbb9015c1b0e8
Add test cass for issue 3682

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


[Issue 3682] Regression(2.038) is expression fails to match types

2012-03-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682



--- Comment #8 from github-bugzi...@puremagic.com 2012-03-09 14:25:02 PST ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/38deee3916b4158b858c6e03dd5aac8dea377f19
fix Issue 3682 - Regression(2.038) is expression fails to match types

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


[Issue 3682] Regression(2.038) is expression fails to match types

2012-03-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682



--- Comment #9 from github-bugzi...@puremagic.com 2012-03-09 14:27:05 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/804dc3b28752673ed402c5ec0ad9aa3cacf4f374
fix Issue 3682 - Regression(2.038) is expression fails to match types

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


[Issue 3682] Regression(2.038) is expression fails to match types

2012-03-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682


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

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


--- Comment #10 from Walter Bright bugzi...@digitalmars.com 2012-03-09 
14:27:45 PST ---
This one took many hours to track down :-)

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


[Issue 3682] Regression(2.038) is expression fails to match types

2012-03-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |


--- Comment #7 from Don clugd...@yahoo.com.au 2012-03-08 02:01:32 PST ---
The test case in comment 3 still fails for me with 2.059 head.

Note that the compilation order is important:
dmd a3682.d b3682.d fails, but dmd b3682.d a3682.d works.

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


[Issue 3682] Regression(2.038) is expression fails to match types

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


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

   What|Removed |Added

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


--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2012-03-02 
12:51:49 PST ---
It works with D2 2.059 head

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


[Issue 3682] Regression(2.038) is expression fails to match types

2011-03-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682


Iain Buclaw ibuc...@ubuntu.com changed:

   What|Removed |Added

 CC||ibuc...@ubuntu.com


--- Comment #5 from Iain Buclaw ibuc...@ubuntu.com 2011-03-24 12:08:10 PDT ---
The (new?) error message I get from the reduced testcase is:

a3682.d(12): Error: cannot implicitly convert expression (a.slice()) of type
Tuple!(float) to Tuple!(float)

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


[Issue 3682] Regression(2.038) is expression fails to match types

2010-09-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682



--- Comment #4 from Don clugd...@yahoo.com.au 2010-09-29 00:27:01 PDT ---
Caused by svn 318, which was fixing bug 282 Bizarre circular import nested
name invisibility issue. Regression bug 4543 was introduced at the same time.

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


[Issue 3682] Regression(2.038) is expression fails to match types

2010-08-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3682



--- Comment #3 from Don clugd...@yahoo.com.au 2010-08-24 12:39:36 PDT ---
Reduced testcase shows that it doesn't require -unittest, and it is D2-only.

--- a3682.d--

struct Tuple(Types...)
{
Tuple!(Types[0..1]) slice()()
{
Tuple!(Types[0..1]) x;
return x;
}

void fail()
{
Tuple!(float, double, int) a;
auto s = a.slice();
static assert(is(typeof(s) == Tuple!(float)));
}
}

 b3682.d--

import a3682;
alias Tuple!(int) tint;
--

 dmd a3682 b3682
a3682.d(14): Error: static assert  (is(Tuple!(float) == Tuple!(float))) is
false
a3682.d(4):instantiated from here: Tuple!(float)
a3682.d(13):instantiated from here: slice!()
a3682.d(12):instantiated from here: Tuple!(float,double,int)
b3682.d(2):instantiated from here: Tuple!(int)

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