<div dir="ltr"><div>I'm building a majorly stripped back environment, but not quite better-c.</div><div>I removed druntime and building with an empty object.d, slowly filling it to understand the minimum set of things I need.</div><div><br></div><div>I have encountered a weird error though:</div><div><br></div><div>  enum x = "X" == "y";<br></div><div></div><div><br></div><div>  error : incompatible types for array comparison: `string` and `string`</div><div><br></div><div>Most things seem to use __cmp, and certainly "X".__cmp("Y") does compile and work.</div><div>Does anyone know why this error message? What is the compiler doing internally that leads to such an error message? Something's obviously missing, but I don't know what...?<br></div></div>