Skip to content

Commit

Permalink
MethodInvocation was initiated with str sometimes, use Identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimm committed Mar 1, 2021
1 parent 7e75934 commit a2856a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javalang/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ def parse_selector(self):

token = self.tokens.look()
if isinstance(token, Identifier):
identifier = self.tokens.next().value
identifier = self.tokens.next()
arguments = None

if self.would_accept('('):
Expand Down

0 comments on commit a2856a7

Please sign in to comment.