[Issue 3801] CTFE: this.arr[i] cannot be evaluated at compile time for structs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 26 07:37:41 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3801
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Severity|blocker |major
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-02-26 07:37:38 PST ---
a.b[i]=c; isn't implemented in CTFE yet, but a.b=c; is, so I'm downgrading from
blocker. (It's still high priority, though).
Workaround:
struct S {
int arr[1];
this(int x){
int[1] z = x;
arr = z;
}
}
--
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