If a function has only a comment as body:
function foo() public {
// to be defined
}
prettier fails with a Comment "to be defined" was not printed.
I created a branch https://github.com/prettier-solidity/prettier-plugin-solidity/tree/function-body-with-comment that has a failing test.
If a function has only a comment as body:
prettier fails with a
Comment "to be defined" was not printed.I created a branch https://github.com/prettier-solidity/prettier-plugin-solidity/tree/function-body-with-comment that has a failing test.