digitalmars.D.internals - CTFE error in druntime when separating the semantic routines in the
- RazvanN (15/15) Jul 21 2017 Hi guys,
- RazvanN (2/17) Jul 21 2017 Nevermind. I found the problem. Sorry for spam
- Stefan Koch (2/24) Jul 21 2017 Pleas state what the problem was , it might be useful to know.
Hi guys, I was working on separating the semantic routines from the AST nodes and I started with the Initializer AST nodes. The separating went pretty smooth and at this point I can compile the compiler with the new code organization but I am getting a ctfe error when compiling druntime : src/gc/impl/conservative/gc.d(1599): Error: cannot determine length of binsize at compile time src/gc/impl/conservative/gc.d(1605): called from here: ctfeBins() I have little to 0 knowledge about CTFE so if anybody has any idea on what could be the problem, please take a look at: https://github.com/dlang/dmd/pull/7007 Thank you, RazvanN
Jul 21 2017
On Friday, 21 July 2017 at 08:45:32 UTC, RazvanN wrote:Hi guys, I was working on separating the semantic routines from the AST nodes and I started with the Initializer AST nodes. The separating went pretty smooth and at this point I can compile the compiler with the new code organization but I am getting a ctfe error when compiling druntime : src/gc/impl/conservative/gc.d(1599): Error: cannot determine length of binsize at compile time src/gc/impl/conservative/gc.d(1605): called from here: ctfeBins() I have little to 0 knowledge about CTFE so if anybody has any idea on what could be the problem, please take a look at: https://github.com/dlang/dmd/pull/7007 Thank you, RazvanNNevermind. I found the problem. Sorry for spam
Jul 21 2017
On Friday, 21 July 2017 at 10:05:58 UTC, RazvanN wrote:On Friday, 21 July 2017 at 08:45:32 UTC, RazvanN wrote:Pleas state what the problem was , it might be useful to know.Hi guys, I was working on separating the semantic routines from the AST nodes and I started with the Initializer AST nodes. The separating went pretty smooth and at this point I can compile the compiler with the new code organization but I am getting a ctfe error when compiling druntime : src/gc/impl/conservative/gc.d(1599): Error: cannot determine length of binsize at compile time src/gc/impl/conservative/gc.d(1605): called from here: ctfeBins() I have little to 0 knowledge about CTFE so if anybody has any idea on what could be the problem, please take a look at: https://github.com/dlang/dmd/pull/7007 Thank you, RazvanNNevermind. I found the problem. Sorry for spam
Jul 21 2017