[Bug 136] New: Struct hidden context pointers
via D.gnu
d.gnu at puremagic.com
Sat Jun 14 05:18:52 PDT 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=136
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 at gdcproject.org
Reporter: ibuclaw at 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();
}
---
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140614/8b5a2934/attachment.html>
More information about the D.gnu
mailing list