class Foo { set() {} }; and class Bar { get() {} } should both be valid method names, and yet are being rejected. The parser needs to check for a ( after the get/set pseudo-keywords rather than assuming it's always a setter or getter.
Created attachment 258344 [details] Fixes the bug
Comment on attachment 258344 [details] Fixes the bug How hard would it be to factor out the property name parsing? Parsepropertyname()->{name, propertytype} R+ as is, but if so a follow up to refactor would be nice
Yup, I'm gonna try that refactoring after fixing the bug 144281.
(In reply to comment #3) > Yup, I'm gonna try that refactoring after fixing the bug 144281. I meant to say the bug 142690.
Committed r188018: <http://trac.webkit.org/changeset/188018>