Skip to content

Commit

Permalink
Revert IReferenceUnboxingProjection change (regresses CI test?)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle committed Aug 28, 2024
1 parent baa7eaf commit 206749e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ public enum IReferenceUnboxingProjection {
public static func _wrap(_ reference: consuming ABIReference) -> SwiftObject {
var abiValue = Projection.abiDefaultValue
withUnsafeMutablePointer(to: &abiValue) { abiValuePointer in
try! reference.interop.get_Value(abiValuePointer)
// TODO: use try! reference.interop.get_Value(abiValuePointer)
_ = try! HResult.throwIfFailed(reference.pointer.pointee.VirtualTable.pointee.get_Value(
reference.pointer, abiValuePointer))
}
return Projection.toSwift(consuming: &abiValue)
}
Expand Down

0 comments on commit 206749e

Please sign in to comment.