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

Lesson 5 chapter 1 code why must pragma replace //Start here comment on the first line? #701

Open
Toefinder opened this issue Oct 20, 2022 · 0 comments

Comments

@Toefinder
Copy link

I am quite surprised that the checker only passes when I wrote pragma on the first line, replacing the //Start here comment. I would expect to be accepted when writing pragma under that comment. Is there a rule in solidity version 0.5 that we must start a .sol file with a pragma?

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