[Issue 7572] New: f.fn!(void) is not an lvalue
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 24 08:53:19 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7572
Summary: f.fn!(void) is not an lvalue
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: ellery-newcomer at utulsa.edu
--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2012-02-24 08:53:17 PST ---
possibly a dup of bug 2472
take out the comments and this code will fail to compile:
alias void Tr;
class F{
Tr fn(/*Tr, T ...)(T t*/){
}
}
void main(){
F f = new F();
void delegate() fx = &f.fn/*!(void)*/;
}
test.d(8): Error: f.fn!(void) is not an lvalue
--
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