processing/processing

add a better error message when user types "new color()" instead of "color()"

Open

#3,851 创建于 2015年9月22日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Java (6,431 star) (1,540 fork)batch import
enhancementhelp wanted

描述

With #3739 fixed, it'd be a good idea to give users a better error message/prompt when the use new color() (as if color is a class) rather than color(), because color() operates like a cast ala int() and float().

贡献者指南