Skip to content

Commit a68d891

Browse files
fix mypy
1 parent 75361d4 commit a68d891

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tools/cases_generator/tier1_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def uses_this(inst: Instruction) -> bool:
128128
return False
129129

130130

131-
def write_single_inst(out: CWriter, emitter: Emitter, name: str, inst: Instruction):
131+
def write_single_inst(out: CWriter, emitter: Emitter, name: str, inst: Instruction) -> None:
132132
needs_this = uses_this(inst)
133133
unused_guard = "(void)this_instr;\n" if inst.family is None else ""
134134
if inst.properties.needs_prev:

Tools/cases_generator/tier1_tail_call_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
TARGET_LABEL = "TAIL_CALL_TARGET"
3535

36-
def generate_label_handlers(infile: TextIO, outfile: TextIO):
36+
def generate_label_handlers(infile: TextIO, outfile: TextIO) -> None:
3737
out = CWriter(outfile, 0, False)
3838
str_in = infile.read()
3939
# https://stackoverflow.com/questions/8303488/regex-to-match-any-character-including-new-lines

0 commit comments

Comments
 (0)