How can I do dmd omite error when if compare two different data types ? (-fpermissive)
Marcone
marcone at email.com
Sun May 3 23:03:02 UTC 2020
In C++ I just use -fpermissive
foreach(i; tuple(10, "lemon", false, "John", 1.6, 'c'))
{
writeln(i);
if(i == "John") break; // Error
}
More information about the Digitalmars-d-learn
mailing list