Anthony Pages
05/31/2021, 8:51 AM_
at the end of one of them in the header.
interface A {
val foo: Int
}
interface B {
val foo: Int?
}
I will have the following header:
__attribute__((swift_name("A")))
@protocol A
@required
@property (readonly) int32_t foo __attribute__((swift_name("foo"))); // <----- foo: OK
@end;
__attribute__((swift_name("B")))
@protocol B
@required
@property (readonly) KotlinInt * _Nullable foo_ __attribute__((swift_name("foo_"))); // <----- foo with an underscore: NOK
@end;
I didn't find any issue on https://youtrack.jetbrains.com/ So I ask to you here before opening one.
_P.S: if props have the same type, there is no collision and no `_`_ added.basher
06/01/2021, 10:55 PMAnthony Pages
06/02/2021, 12:39 PM