Tolerate whitespace between `require` and terminating `;` (#884)
parent
09a7c833ae
commit
4f5626d654
@ -0,0 +1,9 @@ |
|||||||
|
pragma solidity >=0.8.0 <0.9.0; |
||||||
|
|
||||||
|
contract Test { |
||||||
|
function a(uint x) public { |
||||||
|
require(true); |
||||||
|
require(true) ; |
||||||
|
require(true) ; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue