1
Vote

const in class causes error

description

class foo
{
const bar = 'hello, world';
 
}
 
causes:
syntax error, unexpected IDENTIFIER

comments

neonp wrote Dec 7, 2008 at 7:33 AM

I've not dealed yet with const variables

wrote Feb 14, 2013 at 6:14 PM