This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# probe: is List[Int](1, 2, 3) a constructor? (no: only brackets make a list of values)
|
||||
# expect: compile-error
|
||||
def main():
|
||||
var xs = List[Int](1, 2, 3)
|
||||
print(xs)
|
||||
Reference in new issue
Block a user