sophia/test/contracts/not_toplevel_contract.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

7 lines
104 B
Plaintext

namespace BadNs =
contract Con =
entrypoint e : () => int
contract Con =
entrypoint foo() = 43