aeternity / aesophia

Stand alone compiler for the Sophia smart contract language
https://docs.aeternity.com/aesophia
ISC License
52 stars 19 forks source link

Consider banning or showing a compiler warning for payable private functions #516

Open ghallak opened 3 weeks ago

ghallak commented 3 weeks ago
contract C =
    payable entrypoint f() = ()    // Makes sense
    payable function g() = ()      // Does not make sense