Skip to content

Commit

Permalink
hm compiler doesnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent 9fff2be commit 013019c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,14 @@ public final class HybridTestObjectSwiftKotlinSpecCxx {
do {
let result = try self.implementation.tryOptionalEnum(value: { () -> Powertrain? in
if let actualValue = value.value {
return margelo.nitro.image.Powertrain(rawValue: actualValue)!
return margelo.nitro.image.Powertrain(rawValue: actualValue.rawValue)!
} else {
return nil
}
}())
return { () -> bridge.std__optional_Powertrain_ in
if let actualValue = result {
return bridge.create_std__optional_Powertrain_(actualValue.rawValue)
return bridge.create_std__optional_Powertrain_(actualValue)
} else {
return .init()
}
Expand Down

0 comments on commit 013019c

Please sign in to comment.