Skip to content

Commit

Permalink
Add return hint
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidchu committed Jul 14, 2024
1 parent 92b5e1d commit 58d10ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/lexer/lol_lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(self, path: Path):
self.tokens = []

@staticmethod
def _get_identifier_token_type(identifier: str):
def _get_identifier_token_type(identifier: str) -> LolTokenType | None:
if identifier in {
"while",
"for",
Expand Down

0 comments on commit 58d10ad

Please sign in to comment.