sophia/test/contracts/toplevel_let.aes
Radosław Rowicki 4f554acee6
Fix error messages for some illegal constructions, fix absolute path includes (#251)
* Updated tests, banned type decls and toplevel letvals

* Properly ban nested contracts

* Fix including by path

* Fix error message test

* Fix prettpr attr display. Make dialyzer happy

* More tests

* Fixed type printing

* Updated docs
2020-03-30 14:52:16 +02:00

3 lines
75 B
Plaintext

contract C =
let this_is_illegal = 2/0
entrypoint this_is_legal() = 2/0