Skip to content

Commit eeda132

Browse files
committed
Add annotation
1 parent 264a526 commit eeda132

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/WasmParser/WasmParser.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ extension Parser: BinaryInstructionDecoder {
624624
@inlinable mutating func visitCall() throws -> UInt32 { try parseUnsigned() }
625625
@inlinable mutating func visitCallRef() throws -> UInt32 {
626626
// TODO reference types checks
627+
// traps on nil
627628
try parseUnsigned()
628629
}
629630

Tests/WasmKitTests/Spectest/Spectest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ private func loadStringArrayFromEnvironment(_ key: String) -> [String] {
77
ProcessInfo.processInfo.environment[key]?.split(separator: ",").map(String.init) ?? []
88
}
99

10+
@available(macOS 11, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
1011
public struct SpectestResult {
1112
var passed = 0
1213
var skipped = 0

0 commit comments

Comments
 (0)