www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - well-hidden opBinary bug

trying to build Deadcode with git HEAD reveals strange bug that i can't=20
reproduce on smaller codebase:

(some irrelevant error in `gui.style.types.CSSScale.opBinary`)
Error: template instance gui.style.types.CSSScale.opBinary!"=3D" error=20
instantiating

what is interesting about this bug that is was triggered by this line:

  SSScale height =3D style.height;

and then compiler tried to instantiate `opBinary!"=3D"`, which is obviously=
=20
wrong.

i'm not filling bug report 'cause i can't build sample code. any=20
volunteers? it's a clear blocker for 2.067 release.=
Mar 18 2015