Thread overview | |||||
---|---|---|---|---|---|
|
July 24, 2010 [Issue 4498] New: cannot get return type of a function returning a nested struct with typeof | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4498 Summary: cannot get return type of a function returning a nested struct with typeof Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: kamm-removethis@incasoftware.de --- Comment #0 from Christian Kamm <kamm-removethis@incasoftware.de> 2010-07-23 23:50:08 PDT --- auto foo() { struct S {} S s; return s; } static assert(is(typeof(foo()))); // fails -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 03, 2012 [Issue 4498] cannot get return type of a function returning a nested struct with typeof | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christian Kamm | http://d.puremagic.com/issues/show_bug.cgi?id=4498 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg@gmx.com Severity|normal |major -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 03, 2012 [Issue 4498] cannot get return type of a function returning a nested struct with typeof | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christian Kamm | http://d.puremagic.com/issues/show_bug.cgi?id=4498 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> 2012-07-02 22:47:47 PDT --- Works in 2.060head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation