Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #4

Open
zivyuan opened this issue Jan 11, 2022 · 0 comments
Open

compile error #4

zivyuan opened this issue Jan 11, 2022 · 0 comments

Comments

@zivyuan
Copy link

zivyuan commented Jan 11, 2022

I've downloaded the latest version of contract. Error reported when compile:
`

Compiling ./contracts/Date.sol
Compiling ./contracts/Migrations.sol

project:/contracts/Date.sol:40:47: ParserError: Expected '{' but got reserved keyword 'override'
function _baseURI() internal view virtual override returns (string memory) {
^------^

Compilation failed. See above.
Truffle v5.4.24 (core: 5.4.24)
Node v16.13.1
`
how to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant