crates/wit-component/tests/components/merge-import-versions/module.wit
raw| 1 | package foo:foo; |
| 2 | |
| 3 | world module { |
| 4 | import a:b/[email protected]; |
| 5 | import a:b/[email protected]; |
| 6 | } |
| 7 | |
| 8 | package a:[email protected] { |
| 9 | interface c { |
| 10 | resource r { |
| 11 | constructor(); |
| 12 | } |
| 13 | x: func(x: string); |
| 14 | x2: func(x: string); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | package a:[email protected] { |
| 19 | interface c { |
| 20 | x: func(x: string); |
| 21 | x2: func(x: string); |
| 22 | y: func(); |
| 23 | |
| 24 | resource r { |
| 25 | constructor(); |
| 26 | |
| 27 | x: func(); |
| 28 | } |
| 29 | } |
| 30 | } |