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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 6 04:32:45 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7820


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #5 from timon.gehr at 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: -------


More information about the Digitalmars-d-bugs mailing list