Closed rmeissner closed 3 years ago
If the contract contains pragma solidity >=0.8.2-nightly <0.9.0; the parser returns for the pragma node { type: 'PragmaDirective', name: 'solidity', value: '>=0.8.2' }.
pragma solidity >=0.8.2-nightly <0.9.0;
{ type: 'PragmaDirective', name: 'solidity', value: '>=0.8.2' }
I would expect the value to be >=0.8.2-nightly <0.9.0
>=0.8.2-nightly <0.9.0
Version used: 0.11.1 via hardhat
0.11.1
never mind solidty doesn't allow that 😬
If the contract contains
pragma solidity >=0.8.2-nightly <0.9.0;
the parser returns for the pragma node{ type: 'PragmaDirective', name: 'solidity', value: '>=0.8.2' }
.I would expect the value to be
>=0.8.2-nightly <0.9.0
Version used:
0.11.1
via hardhat