-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
full qualify Address to avoid collision with wit record of same name (#…
…960) * full qualify Address to avoid collision with wit record of same name * add test for fully qualified java address --------- Co-authored-by: Alex Crichton <alex@alexcrichton.com>
- Loading branch information
1 parent
3ca7739
commit 2645c4f
Showing
2 changed files
with
40 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package foo:bar; | ||
|
||
interface my-import { | ||
record address { | ||
field: u32, | ||
attribute: bool, | ||
} | ||
} | ||
|
||
world bindings { | ||
import my-import; | ||
|
||
export init: func(baz: string); | ||
} |