sophia/test/contracts/include.aes
Hans Svensson 2b7490776e Add include directive
Add an include directive to include namespaces into a contract. Only allowed at the top level.

To allow includes, either call through aeso_compiler:file or set the option `allow_include` (and add `include_path`(s)).
2019-02-08 14:16:06 +01:00

11 lines
219 B
Plaintext

include "included.aes"
include "../contracts/included2.aes"
contract Include =
// include "maps.aes"
function foo() =
Included.foo() < Included2a.bar()
function bar() =
Included2b.foo() > Included.foo()