This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+11
@@ -0,0 +1,11 @@
|
||||
struct Reading(Copyable):
|
||||
var v: Int
|
||||
|
||||
def __init__(out self, v: Int):
|
||||
self.v = v
|
||||
|
||||
|
||||
def main():
|
||||
var a = Reading(5)
|
||||
var b = a
|
||||
print("a:", a.v, "b:", b.v)
|
||||
Reference in new issue
Block a user