Avatar
Avatar
shiz
isolated ですか?
omochimetaru 9/24/2021 9:08 AM
それだ! func deposit(amount: Double, to account: isolated BankAccount) { assert(amount >= 0) account.balance = account.balance + amount }