Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // core.jf
- import bar from maths;
- namespace foo{
- struct Foo{}
- function ffoo():Bar;
- }
- // maths.jf
- import foo from core;
- namespace bar{
- struct Bar{}
- function fbar():Foo;
- }
- // VVVVVVVV
- // program.jf
- namespace core{
- import maths.bar;
- namespace foo{
- struct Foo{}
- function ffoo():Bar;
- }
- }
- namespace maths{
- import core.foo;
- namespace bar{
- struct Bar{}
- function fbar():Foo;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement