This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+10
@@ -0,0 +1,10 @@
|
||||
struct PortLock:
|
||||
var port: Int
|
||||
|
||||
def __init__(out self, port: Int):
|
||||
self.port = port
|
||||
|
||||
|
||||
def main():
|
||||
var lock = PortLock(4)
|
||||
print("locked port:", lock.port)
|
||||
Reference in new issue
Block a user