gluecodium icon indicating copy to clipboard operation
gluecodium copied to clipboard

Skipped lambda in struct in class leads to compilation error on Android

Open Hsilgos opened this issue 1 year ago • 0 comments

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"

Hsilgos avatar May 31 '23 12:05 Hsilgos