f-o-a-m / chanterelle

Chanterelle -- a more functional truffle
80 stars 13 forks source link

`function() public` should possibly generate a function in purescript #111

Closed kejace closed 4 years ago

kejace commented 5 years ago

See

contract A {
  function() public {}
}

would generate a function called a :: ...

martyall commented 4 years ago

given that this is meant to be a fallback that the contract calls in case no methods match, I don't think that we need this. This is some kind of oddity of the EVM/Solidity, it's not supposed to be called on purpose