On Monday, 20 May 2013 at 23:57:21 UTC, Jesse Phillips wrote:
I was going to give an example of something that would fail... but I can't think of anything that should fail.

A string in single quotes doesn't pass. I use it for inline javascript sometimes and hits this:

a.onclick = q{
var a = 'something'; // this won't compile in D - it will have to use double quotes
   return false;
};

test.d(5): Error: unterminated character constant

Reply via email to