aeternity / aesophia

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

Ban empty record definitions #384

Closed ghallak closed 2 years ago

ghallak commented 2 years ago

Fixes: #289

The best solution to the problem is to remove the problem.

Empty records can be allowed later if at some point someone would come up with a reasonable use case that would justify changing the type checker to handle them.

Currently empty records cannot be constructed, so it's unlikely that someone is depending on them in his code.