This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# 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")
|
||||
Reference in new issue
Block a user