You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2648 introduces the built-in type Account. The Test contract define a Account type, but shadowing is not allowed. Therefore, the type was renamed to TestAccount.
TestAccount is just a holder for the address of an account which was previously created using createAccount.
It might be nice to replace TestAccount with Account (as &Account).
Suggested Solution
Replace Test.TestAccount with Account
The text was updated successfully, but these errors were encountered:
Issue to be solved
#2648 introduces the built-in type
Account
. TheTest
contract define aAccount
type, but shadowing is not allowed. Therefore, the type was renamed toTestAccount
.TestAccount
is just a holder for the address of an account which was previously created usingcreateAccount
.It might be nice to replace
TestAccount
withAccount
(as&Account
).Suggested Solution
Replace
Test.TestAccount
withAccount
The text was updated successfully, but these errors were encountered: