Fixed bug #19764 : Instead of for traits throws uppercase constant name errors