I have seen some code out in the wild that allows us to use dot syntax like 
so:

function dotTest!(wallet::Wallet, valueToAdd::Int):

...  

end

wallet = Wallet(100)

wallet.dotTest!(5)  # Does not work
dotTest!(wallet, 5)  # Works

However I cannot get it to work, the method is not found because I am not 
passing wallet as the arg.

So did the language change, or am I doing it wrong?

Reply via email to