[Issue 11538] [ICE] stack overflow with recursive NullableRef fails

2018-10-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11538

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/70344173d9379cd35873dff9133a81e55260923f
fix Issue 11538: stack overflow with recursive NullableRef

https://github.com/dlang/dmd/commit/5434917aaa622b9861ff7e2e68403e87f791022f
Merge pull request #8826 from ibuclaw/issue11538

fix Issue 11538: stack overflow with recursive NullableRef
merged-on-behalf-of: Petar Kirov 

--


[Issue 11538] [ICE] stack overflow with recursive NullableRef fails

2018-10-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11538

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 11538] [ICE] stack overflow with recursive NullableRef fails

2018-10-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11538

Iain Buclaw  changed:

   What|Removed |Added

 CC||ibuc...@gdcproject.org

--- Comment #1 from Iain Buclaw  ---

Reduced test from 2.068.2
---
struct NullableRef(T)
{
T* _value;

inout(T) get() inout {
return *_value;
}

alias get this;
}

struct IMSGeo
{
NullableRef!IMSGeo parent;
}
---

Bug no longer reproducible on latter versions.

--