zink-lang / zink

Rustic programming language that targets the Ethereum Virtual Machine
https://zink-lang.org
GNU General Public License v3.0
139 stars 13 forks source link

Macros for error handling #258

Closed clearloop closed 1 day ago

clearloop commented 1 month ago

Describe the feature

part of #257 but specified in https://docs.soliditylang.org/en/latest/units-and-global-variables.html#error-handling

Solution

issue-258-template

assert! is duplicated with the default rust one, just use zink::assert or name it require