Files
pplus-core/mojo/probes/comptime-if-for.mojo
T
2026-10-05 03:03:38 +00: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")