Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 43 characters in body
Source Link

I am well versed with solidity and often use Remix IDE. Quite recently, despite adding a compiler version in my code. I am still getting this warning

Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.5;".

The code:

pragma solidity ^0.6.5;'
Contact A{
<Something>
}

Any guidance, why is this happening?

Edit: It works fine in incognito mode.

I am well versed with solidity and often use Remix IDE. Quite recently, despite adding a compiler version in my code. I am still getting this warning

Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.5;".

The code:

pragma solidity ^0.6.5;'
Contact A{
<Something>
}

Any guidance, why is this happening?

I am well versed with solidity and often use Remix IDE. Quite recently, despite adding a compiler version in my code. I am still getting this warning

Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.5;".

The code:

pragma solidity ^0.6.5;'
Contact A{
<Something>
}

Any guidance, why is this happening?

Edit: It works fine in incognito mode.

Source Link

Remix IDE Waring for "Required Compiler Version"

I am well versed with solidity and often use Remix IDE. Quite recently, despite adding a compiler version in my code. I am still getting this warning

Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.5;".

The code:

pragma solidity ^0.6.5;'
Contact A{
<Something>
}

Any guidance, why is this happening?