Skip to main content
2 of 2
added 43 characters in body

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?

Edit: It works fine in incognito mode.