
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)).
11 lines
219 B
Plaintext
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()
|