processing/processing

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

已关闭

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

 (2 条评论) (0 个反应) (0 位负责人)Java (1,540 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (6,431 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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().

贡献者指南