Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
using "new color()" instead of "color()" results in "color type detected" message #3739
I've just started typing a class containing the lines
in the declarations and
in the constructor, and have got the message
color type detected!
So I'm reporting it.:-)
I'm on version 3.0b2
My code was as bald as this
When I (wrongly, I know) put new into this line
colour = new color(random(255), random(128), random(64));
then I got the error. Sorry for not including this; I hadn't noticed the error at first and so didn't know what had caused it.