Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit dfda83d

Browse files
Denys Smirnovdennwc
authored andcommitted
fix typo introduced by 52b1936
Fix typo in the field name introduced by 52b1936. Signed-off-by: Denys Smirnov <[email protected]>
1 parent 52b1936 commit dfda83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bblfsh/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def start_position(self) -> CompatPosition:
250250
@property
251251
def end_position(self) -> CompatPosition:
252252
self._add_position()
253-
end = self.get_dict()["@pos"].get("start", Node._get_default_position())
253+
end = self.get_dict()["@pos"].get("end", Node._get_default_position())
254254
return CompatPosition(end)
255255

256256
@staticmethod

0 commit comments

Comments
 (0)