-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIT: Parse and print a semicolon after package statements (#1221)
* WIT: Parse and print a semicolon after `package` statements * Update wit-parser tests * Update other `package` statements with semicolons * Bump wit-parser version and other deps
- Loading branch information
1 parent
df170e6
commit 22b06c1
Showing
367 changed files
with
382 additions
and
380 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "wasm-compose" | ||
version = "0.4.5" | ||
version = "0.4.6" | ||
edition.workspace = true | ||
authors = ["Peter Huene <[email protected]>"] | ||
license = "Apache-2.0 WITH LLVM-exception" | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "wit-component" | ||
authors = ["Peter Huene <[email protected]>"] | ||
version = "0.14.3" | ||
version = "0.14.4" | ||
edition.workspace = true | ||
license = "Apache-2.0 WITH LLVM-exception" | ||
readme = "README.md" | ||
|
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
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-empty-interface/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-export-default/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-export-namespaced/module.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-export-reallocs/module.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-export-save-args/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-export-with-post-return/module.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-import-only-used-in-adapter/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
import foo: func(x: string); | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-inject-stack-with-adapt-realloc/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-inject-stack-with-realloc-no-state/module.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-inject-stack-with-realloc/module.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-inject-stack-with-reallocing-adapter/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-inject-stack/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-list-return/module.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-memory-simple/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-multiple/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/adapt-preview1/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
import foo: interface { | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module { | ||
import foo: func(); | ||
import bar: func() -> string; | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/ensure-default-type-exports/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface foo { | ||
type foo = u8; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-adapt-missing-memory/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-default-export-sig-mismatch/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
export a: func(x: string) -> string; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-empty-module-import/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-export-sig-mismatch/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
export foo: interface { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-import-resource-rep/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:bar | ||
package foo:bar; | ||
|
||
world module { | ||
resource a; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-import-resource-wrong-signature/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:bar | ||
package foo:bar; | ||
|
||
world module { | ||
resource a; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-import-sig-mismatch/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
import foo: interface { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-invalid-module-import/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-link-duplicate-symbols/lib-bar.wit
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package test:test | ||
package test:test; | ||
|
||
world lib-bar { } |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-link-duplicate-symbols/lib-foo.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package test:test | ||
package test:test; | ||
|
||
interface test { | ||
foo: func(v: s32) -> s32; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-link-missing-needed/lib-foo.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package test:test | ||
package test:test; | ||
|
||
interface test { | ||
foo: func(v: s32) -> s32; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-link-missing-symbols/lib-foo.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package test:test | ||
package test:test; | ||
|
||
interface test { | ||
foo: func(v: s32) -> s32; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-missing-default-export/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module { | ||
export a: func(); | ||
} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-missing-export/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
export foo: interface { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-missing-import-func/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface foo { | ||
a: func(); | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/error-missing-import/module.wit
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package foo:foo | ||
package foo:foo; | ||
world module {} |
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/export-interface-using-import/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface foo { | ||
record f { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/export-name-shuffling/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface name { | ||
record foo { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/export-resource/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:bar | ||
package foo:bar; | ||
|
||
world module { | ||
export foo: interface { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/export-type-name-conflict/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface foo { | ||
record foo { | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/export-with-type-alias/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface foo { | ||
type a = u8; | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
export a: func(); | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/import-and-export-resource/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:bar | ||
package foo:bar; | ||
|
||
interface foo { | ||
resource a; | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/import-conflict/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface foo { | ||
a: func(); | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/import-empty-interface/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
import foo: interface {} | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/import-export-same-iface-name/deps/dep/foo.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:dep | ||
package foo:dep; | ||
|
||
interface the-name { | ||
a: func(); | ||
|
2 changes: 1 addition & 1 deletion
2
crates/wit-component/tests/components/import-export-same-iface-name/module.wit
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
interface the-name { | ||
a: func(); | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package foo:foo | ||
package foo:foo; | ||
|
||
world module { | ||
import foo: interface { | ||
|
Oops, something went wrong.