diff --git a/docs/compiler.md b/docs/compiler.md index b53a92a65..3dc2d52b7 100644 --- a/docs/compiler.md +++ b/docs/compiler.md @@ -22,7 +22,8 @@ a dialect of Go rather than a complete port of the language: * `defer` and `recover` are supported except for cases where panic occurs in `return` statement, because this complicates implementation and imposes runtime overhead for all contracts. This can easily be mitigated by first storing values - in variables and returning the result. + in variables and returning the result. `defer` can't be used in + conditional code (#2293). * lambdas are supported, but closures are not. * maps are supported, but valid map keys are booleans, integers and strings with length <= 64