aeternity / aesophia

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

Pattern guards for functions and switch statements #339

Closed ghallak closed 2 years ago

ghallak commented 3 years ago

Fixes: #232

hanssv commented 3 years ago

Looks good from a quick look, are there any (actually running) tests over in aeternity repo?

radrow commented 3 years ago

Add some negative test maybe?

ghallak commented 2 years ago

Looks good from a quick look, are there any (actually running) tests over in aeternity repo?

There are tests here now (and they're passing): https://github.com/ghallak/aeternity/commit/4683da5b500dd764f62d4c8b4f3f1e83e9723fd7