Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ${hasBase ? `open class ${name.HybridTSpecCxx} : ${baseClasses.join(', ')}` : `o
/**
* Holds an instance of the \`${name.HybridTSpec}\` Swift protocol.
*/
private var __implementation: any ${name.HybridTSpec}
private let __implementation: any ${name.HybridTSpec}

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open class HybridBaseSpec_cxx {
/**
* Holds an instance of the `HybridBaseSpec` Swift protocol.
*/
private var __implementation: any HybridBaseSpec
private let __implementation: any HybridBaseSpec

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open class HybridChildSpec_cxx : HybridBaseSpec_cxx {
/**
* Holds an instance of the `HybridChildSpec` Swift protocol.
*/
private var __implementation: any HybridChildSpec
private let __implementation: any HybridChildSpec

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open class HybridPlatformObjectSpec_cxx {
/**
* Holds an instance of the `HybridPlatformObjectSpec` Swift protocol.
*/
private var __implementation: any HybridPlatformObjectSpec
private let __implementation: any HybridPlatformObjectSpec

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open class HybridRecyclableTestViewSpec_cxx {
/**
* Holds an instance of the `HybridRecyclableTestViewSpec` Swift protocol.
*/
private var __implementation: any HybridRecyclableTestViewSpec
private let __implementation: any HybridRecyclableTestViewSpec

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Holds an instance of the `HybridTestObjectSwiftKotlinSpec` Swift protocol.
*/
private var __implementation: any HybridTestObjectSwiftKotlinSpec
private let __implementation: any HybridTestObjectSwiftKotlinSpec

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down Expand Up @@ -282,7 +282,7 @@
get {
return { () -> bridge.std__variant_nitro__NullType__std__string_ in
switch self.__implementation.stringOrNull {
case .first(let __value):

Check warning on line 285 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (static_frameworks, static)

immutable value '__value' was never used; consider replacing with '_' or removing it

Check warning on line 285 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (no_frameworks)

immutable value '__value' was never used; consider replacing with '_' or removing it

Check warning on line 285 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (Default, new architecture)

immutable value '__value' was never used; consider replacing with '_' or removing it

Check warning on line 285 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (TSan, new architecture)

immutable value '__value' was never used; consider replacing with '_' or removing it

Check warning on line 285 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (ASan, new architecture)

immutable value '__value' was never used; consider replacing with '_' or removing it
return bridge.create_std__variant_nitro__NullType__std__string_(margelo.nitro.NullType.null)
case .second(let __value):
return bridge.create_std__variant_nitro__NullType__std__string_(std.string(__value))
Expand All @@ -295,7 +295,7 @@
let __variant = newValue
switch __variant.index() {
case 0:
let __actual = __variant.get_0()

Check warning on line 298 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (static_frameworks, static)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 298 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (no_frameworks)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 298 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (Default, new architecture)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 298 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (TSan, new architecture)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 298 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (ASan, new architecture)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it
return .first(NullType.null)
case 1:
let __actual = __variant.get_1()
Expand Down Expand Up @@ -633,7 +633,7 @@
@inline(__always)
public final func bounceNull(value: margelo.nitro.NullType) -> bridge.Result_nitro__NullType_ {
do {
let __result = try self.__implementation.bounceNull(value: NullType.null)

Check warning on line 636 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (static_frameworks, static)

initialization of immutable value '__result' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 636 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (no_frameworks)

initialization of immutable value '__result' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 636 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (Default, new architecture)

initialization of immutable value '__result' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 636 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (TSan, new architecture)

initialization of immutable value '__result' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 636 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (ASan, new architecture)

initialization of immutable value '__result' was never used; consider replacing with assignment to '_' or removing it
let __resultCpp = margelo.nitro.NullType.null
return bridge.create_Result_nitro__NullType_(__resultCpp)
} catch (let __error) {
Expand Down Expand Up @@ -961,7 +961,7 @@
let __variant = bridge.std__variant_nitro__NullType__std__string_(__item)
switch __variant.index() {
case 0:
let __actual = __variant.get_0()

Check warning on line 964 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Build iOS Example App (no_frameworks)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 964 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (Default, new architecture)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 964 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (TSan, new architecture)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it

Check warning on line 964 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (ASan, new architecture)

initialization of immutable value '__actual' was never used; consider replacing with assignment to '_' or removing it
return .first(NullType.null)
case 1:
let __actual = __variant.get_1()
Expand All @@ -975,7 +975,7 @@
for __item in __result {
__vector.push_back({ () -> bridge.std__variant_nitro__NullType__std__string_ in
switch __item {
case .first(let __value):

Check warning on line 978 in packages/react-native-nitro-test/nitrogen/generated/ios/swift/HybridTestObjectSwiftKotlinSpec_cxx.swift

View workflow job for this annotation

GitHub Actions / Harness iOS (ASan, new architecture)

immutable value '__value' was never used; consider replacing with '_' or removing it
return bridge.create_std__variant_nitro__NullType__std__string_(margelo.nitro.NullType.null)
case .second(let __value):
return bridge.create_std__variant_nitro__NullType__std__string_(std.string(__value))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open class HybridTestViewSpec_cxx {
/**
* Holds an instance of the `HybridTestViewSpec` Swift protocol.
*/
private var __implementation: any HybridTestViewSpec
private let __implementation: any HybridTestViewSpec

/**
* Holds a weak pointer to the C++ class that wraps the Swift class.
Expand Down
Loading