| 1 |
package foo:foo; |
| 2 |
|
| 3 |
interface shared-items { |
| 4 |
enum the-enum { |
| 5 |
a, |
| 6 |
} |
| 7 |
} |
| 8 |
|
| 9 |
world w1 { |
| 10 |
import shared-items; |
| 11 |
import foo: interface { |
| 12 |
use shared-items.{the-enum}; |
| 13 |
} |
| 14 |
import bar: interface { |
| 15 |
use shared-items.{the-enum}; |
| 16 |
} |
| 17 |
} |
| 18 |
world w2 { |
| 19 |
import shared-items; |
| 20 |
import foo: interface { |
| 21 |
use shared-items.{the-enum}; |
| 22 |
} |
| 23 |
|
| 24 |
export bar: interface { |
| 25 |
use shared-items.{the-enum}; |
| 26 |
} |
| 27 |
} |
| 28 |
world w3 { |
| 29 |
import shared-items; |
| 30 |
|
| 31 |
export bar: interface { |
| 32 |
use shared-items.{the-enum}; |
| 33 |
} |
| 34 |
} |