this is the solidity version:
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
this is the function that throws error:
function withdraw(uint withdrawAmount) external {
if (withdrawAmount<1000000000000000000){
payable(msg.sender).transfer(withdrawAmount);
}
}
Error Message: ParserError: Expected primary expression.
terminal underlines payable