Bug ID | 136 |
---|---|
Summary | Struct hidden context pointers |
Product | GDC |
Version | development |
Hardware | All |
OS | All |
Status | NEW |
Severity | normal |
Priority | Normal |
Component | gdc |
Assignee | ibuclaw@gdcproject.org |
Reporter | ibuclaw@gdcproject.org |
Keeping a record of this: http://forum.dlang.org/thread/20130706211329.GA17171@quickfur.ath.cx --- // Function to test if T is independently instantiable. void f(T)() { T t; } void main() { int a = 42; struct S { int y; bool f() { return (a == 42); } } f!S(); } ---