[Dlang-internal] CTFE error in druntime when separating the semantic routines in the compiler

Stefan Koch via Dlang-internal dlang-internal at puremagic.com
Fri Jul 21 03:32:32 PDT 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:
>> 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
>
> Nevermind. I found the problem. Sorry for spam

Pleas state what the problem was , it might be useful to know.


More information about the Dlang-internal mailing list