[OT] - Re: Workaround for https://issues.dlang.org/show_bug.cgi?id=18422?

2018-02-13 Thread Nick Treleaven via Digitalmars-d
On Sunday, 11 February 2018 at 15:34:07 UTC, Andrei Alexandrescu wrote: I'm trying to sketch a simple compile-time reflection system, and https://issues.dlang.org/show_bug.cgi?id=18422 is a blocker of the entire approach. BTW please write a descriptive subject, not a bug ID. The #dbugfix post

Re: Workaround for https://issues.dlang.org/show_bug.cgi?id=18422?

2018-02-11 Thread Meta via Digitalmars-d
On Sunday, 11 February 2018 at 15:34:07 UTC, Andrei Alexandrescu wrote: I'm trying to sketch a simple compile-time reflection system, and https://issues.dlang.org/show_bug.cgi?id=18422 is a blocker of the entire approach. My intent is to have a struct Module, which can be initialized with a mod

Re: Workaround for https://issues.dlang.org/show_bug.cgi?id=18422?

2018-02-11 Thread John Colvin via Digitalmars-d
On Sunday, 11 February 2018 at 15:34:07 UTC, Andrei Alexandrescu wrote: I'm trying to sketch a simple compile-time reflection system, and https://issues.dlang.org/show_bug.cgi?id=18422 is a blocker of the entire approach. My intent is to have a struct Module, which can be initialized with a mod

Re: Workaround for https://issues.dlang.org/show_bug.cgi?id=18422?

2018-02-11 Thread Adam D. Ruppe via Digitalmars-d
On Sunday, 11 February 2018 at 15:34:07 UTC, Andrei Alexandrescu wrote: My intent is to have a struct Module, which can be initialized with a module name; then: The way I do this is to define the data structures kinda like you did, but then have a ctfe/template factory function to return it.

Re: Workaround for https://issues.dlang.org/show_bug.cgi?id=18422?

2018-02-11 Thread Seb via Digitalmars-d
On Sunday, 11 February 2018 at 15:34:07 UTC, Andrei Alexandrescu wrote: I'm trying to sketch a simple compile-time reflection system, and https://issues.dlang.org/show_bug.cgi?id=18422 is a blocker of the entire approach. My intent is to have a struct Module, which can be initialized with a mod

Workaround for https://issues.dlang.org/show_bug.cgi?id=18422?

2018-02-11 Thread Andrei Alexandrescu via Digitalmars-d
I'm trying to sketch a simple compile-time reflection system, and https://issues.dlang.org/show_bug.cgi?id=18422 is a blocker of the entire approach. My intent is to have a struct Module, which can be initialized with a module name; then: struct Module { private string name; Data[] dat