gluecodium
gluecodium copied to clipboard
Skipped lambda in struct in class leads to compilation error on Android
Example:
class ClassWithStructWithSkipLambdaInPlatform
{
struct SkipLambdaInPlatform {
intField: Int
@Skip(Java, Dart, Swift)
lambda SomeLambda = () -> Int
// Network factory
@Skip(Java, Dart, Swift)
someLambda: SomeLambda?
}
}
The error:
com_here_android_test_ClassWithStructWithSkipLambdaInPlatform__Conversion.h:26:10: fatal error: 'com_here_android_test_ClassWithStructWithSkipLambdaInPlatform_SkipLambdaInPlatform_SomeLambda__Conversion.h' file not found
#include "com_here_android_test_ClassWithStructWithSkipLambdaInPlatform_SkipLambdaInPlatform_SomeLambda__Conversion.h"