Closed JSteunou closed 9 years ago
Looks good, but I'm wondering if we should look out for other things. Maybe call expressions? Can't think of other things off the type of my head, but maybe we should maintain an array of the possible AST node types to look out for here?
Could be. Do you think people can do things like
gettext.ngettext('foo', 'foos', this.getCount(something));
Yup, I think we should allow people to have those kinds of cases in their code.
So something like this?
Do you see other possible cases?
Ouch it failed... broken other tests :( I could need some extra help on this one.
Yup, I think that looks good. Could we maybe pull the array out and attach it so some top-level variable in the module to make it easier to maintain?
Hmm, cool, will take a look.
@JSteunou making progress on a different idea, will push a commit in a few minutes.
Should definitely close #14 :)