[Issue 7129] Compiling certain nested structs with -inline causes error "*** is a nested function and cannot be accessed from ***"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 26 01:33:40 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7129
Nils <nilsbossung at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nilsbossung at googlemail.com
--- Comment #4 from Nils <nilsbossung at googlemail.com> 2013-01-26 01:33:38 PST ---
Can't reproduce with the original test case, but this version still fails:
auto fun()
{
int i;
struct Result {
this(int u) {}
auto bar() {
i = 42;
}
}
return Result();
}
void main() {
auto t = fun();
t.bar();
}
--
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