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
fix selected compiler version when pragma solidity statement is missing
fix error when pragma solidity... includes more than one whitespace after "pragma"
While testing the solution for #15 I noticed the following.
If the source code doesn't exactly contain the text "pragma solidity....;" then the following error is shown in the console:
So if you've made a typo, or even haven't added "pragma solidity ..;" (e.g. delete everything and start typing), then the source can be lost.
Also if you have two spaces between "pragma" and "solidity", the problem also occurs and the source doesn't compile:
"pragma solidity ..;
(this can be solved be changing the regex)
The text was updated successfully, but these errors were encountered:
@todo
pragma solidity...
includes more than one whitespace after "pragma"While testing the solution for #15 I noticed the following.
If the source code doesn't exactly contain the text "pragma solidity....;" then the following error is shown in the console:
and the source code isn't saved.
This is related to:
So if you've made a typo, or even haven't added "pragma solidity ..;" (e.g. delete everything and start typing), then the source can be lost.
Also if you have two spaces between "pragma" and "solidity", the problem also occurs and the source doesn't compile:
(this can be solved be changing the regex)
The text was updated successfully, but these errors were encountered: