allow "foo[]" since the index operator can take no arguments, forbid "def [] {}" since that's not a getter
allow "foo[]" since the index operator can take no arguments, forbid "def [] {}" since that's not a getter

evanw/skew,evanw/skew,evanw/skew,evanw/skew