forked from M-Labs/nac3
demo: fix classes example
This commit is contained in:
parent
956cca6ac8
commit
d561450bf5
|
@ -22,10 +22,10 @@ class B:
|
||||||
|
|
||||||
def run() -> int32:
|
def run() -> int32:
|
||||||
a = A(10)
|
a = A(10)
|
||||||
output(a.a)
|
output_int(a.a)
|
||||||
|
|
||||||
a = A(20)
|
a = A(20)
|
||||||
output(a.a)
|
output_int(a.a)
|
||||||
output(a.get_a())
|
output_int(a.get_a())
|
||||||
output(a.get_b().b)
|
output_int(a.get_b().b)
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue