Skip to content

Commit 13f81c8

Browse files
authored
Make throwing method effects untyped in Debugger.swift
1 parent 7ad44f0 commit 13f81c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
self.execution = Execution(store: StoreRef(store), stackEnd: valueStack.advanced(by: limit))
3434
}
3535

36-
package mutating func stopAtEntrypoint() throws(Error) {
36+
package mutating func stopAtEntrypoint() throws {
3737
try self.toggleBreakpoint(address: self.originalAddress(function: entrypointFunction))
3838
}
3939

40-
package func originalAddress(function: Function) throws(Error) -> Int {
40+
package func originalAddress(function: Function) throws -> Int {
4141
precondition(function.handle.isWasm)
4242

4343
switch function.handle.wasm.code {
@@ -52,7 +52,7 @@
5252
}
5353
}
5454

55-
package mutating func toggleBreakpoint(address: Int) throws(Error) {
55+
package mutating func toggleBreakpoint(address: Int) throws {
5656
print("attempt to toggle a breakpoint at \(address)")
5757
}
5858

0 commit comments

Comments
 (0)