Skip to content

Commit 5b9f39e

Browse files
committed
test: remove invocation method in component import textual representation
1 parent 306d3a8 commit 5b9f39e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hir/src/component/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ impl fmt::Display for ComponentImport {
4848
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
4949
write!(
5050
f,
51-
"{} {} {} mast#{}",
52-
self.invoke_method, self.interface_function, self.function_ty, self.digest
51+
"{} {} mast#{}",
52+
self.interface_function, self.function_ty, self.digest
5353
)
5454
}
5555
}

tests/integration/expected/components/inc_wasm_component.hir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
component
22

3-
import "call" miden:add-package/[email protected]::add fn(u32, u32) -> u32 mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower module0::inc_wasm_component::bindings::miden::add_package::add_interface::add::wit_import
3+
import miden:add-package/[email protected]::add fn(u32, u32) -> u32 mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower module0::inc_wasm_component::bindings::miden::add_package::add_interface::add::wit_import
44

55
// ====================================================================
66
module module0

0 commit comments

Comments
 (0)