This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# probe: can min() take one List? (no: min and max compare their arguments; the smallest item of a list is a loop)
|
||||
# expect: compile-error
|
||||
def main():
|
||||
var xs: List[Int] = [3, 1, 2]
|
||||
print(min(xs))
|
||||
Reference in new issue
Block a user