Files
pplus-library/mojo/probes/comptime-if-for.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

10 lines
179 B
Mojo

# probe: comptime for and comptime if in a function body
comptime N = 3
def main():
comptime for i in range(N):
print(i)
comptime if N > 2:
print("big")