CyberShadow / Digger

A tool to build D and bisect old D versions
Other
57 stars 9 forks source link

static assert "Unknown type for DecimalSize" #49

Closed PetarKirov closed 7 years ago

PetarKirov commented 7 years ago

I cloned Digger (at 63211baa3496fd5a37db832cea586f1115180754 as of right now) and when building rdmd --build-only -debug digger-web.d I get:

ae/utils/text/ascii.d(61): Error: static assert  "Unknown type for DecimalSize"
ae/utils/textout.d(183):        instantiated from here: DecimalSize!(immutable(bool))
ae/utils/textout.d(178):        instantiated from here: putDecimal!(FastAppender!(immutable(char)), immutable(bool))
ae/utils/json.d(63):        instantiated from here: put!(FastAppender!(immutable(char)), immutable(bool))
ae/utils/json.d(122):        instantiated from here: put!(immutable(bool))
ae/utils/json.d(73):        instantiated from here: put!(immutable(OutputLine))
ae/utils/json.d(122):        instantiated from here: put!(immutable(OutputLine)[])
ae/utils/json.d(204):        instantiated from here: put!(Status)
ae/net/http/responseex.d(65):        instantiated from here: toJson!(Status)
digger-web.d(119):        instantiated from here: serveJson!(Status)
Failed: ["dmd", "-debug", "-v", "-o-", "digger-web.d", "-I."]

I reproduced the error on all the compilers that I tested (DMD 2.067.0, 2.069.0, 2.071 and 2.072).

CyberShadow commented 7 years ago

Fixed in e5da0bb64f4e4141ede98962a389506a5bce04f6.