[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

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

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

   What|Removed |Added

Version|unspecified |D2

--


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820


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

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #1 from Walter Bright bugzi...@digitalmars.com 2012-04-05 
23:27:20 PDT ---
The second issue is not the same and isn't a regression.

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


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820



--- Comment #2 from github-bugzi...@puremagic.com 2012-04-05 23:28:16 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/6fc972df155d69de9b001b28dc6f5a7d16faf351
fix Issue 7820 - regression(DMD 2.059head) Wrong error on forward reference to
'front' with -property switch

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


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820


Walter Bright bugzi...@digitalmars.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 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820



--- Comment #3 from timon.g...@gmx.ch 2012-04-06 02:26:40 PDT ---
(In reply to comment #1)
 The second issue is not the same and isn't a regression.

OK. Reposted as issue 7846.

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


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820



--- Comment #4 from timon.g...@gmx.ch 2012-04-06 02:40:25 PDT ---
The code this was reduced from still does not compile with -property for the
same reason. I will try to create another reduced example and then reopen the
issue.

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


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820


timon.g...@gmx.ch changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


--- Comment #5 from timon.g...@gmx.ch 2012-04-06 04:33:19 PDT ---
These snippets still expose the buggy behavior even after the fix:
---
int[] array;
pragma(msg, typeof(array.front));
@property int front(int[] a){return a[0];}
---
---
import std.algorithm;
alias find!(a == b,int[],int) test;
---

I assume it is the same bug in both cases.

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


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820



--- Comment #6 from github-bugzi...@puremagic.com 2012-04-06 14:54:52 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/37c1856876382d820372dec621c46e884e5c97ab
fix Issue 7820 - regression(DMD 2.059head) Wrong error on forward reference to
'front' with -property switch

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


[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820


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

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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