Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda parameters and return value docs don't work for cpp,swift and dart. #1544

Open
limingchina opened this issue Aug 4, 2023 · 0 comments

Comments

@limingchina
Copy link
Contributor

Currently, with the following input:

package test

class CommentsLambda {
    // This is a comment for lambda 
    // @param[p0] This is the comment for the first parameter of the lambda.
    // @param[p1] This is the comment for the second parameter of the lambda.
    lambda MyCallback = (@Java("param1_name") Int?, @Java("param2_name") String) 
        ->  /*Comment for return value*/ Int
} 

The documentation for parameters will not appear in the generated documentation for the lambda. The comment for the return value will lead to a lime file loading error since the syntax is not supporting documenting the return value.

@limingchina limingchina changed the title Lamba parameters and return value docs don't work for cpp,swift and dart. Lambda parameters and return value docs don't work for cpp,swift and dart. Aug 4, 2023
limingchina added a commit to limingchina/gluecodium that referenced this issue Aug 4, 2023
limingchina added a commit to limingchina/gluecodium that referenced this issue Aug 4, 2023
…pp,swift,dart.

The android generator(java) already works

see: heremaps#1544
Signed-off-by: Ming Li <[email protected]>
limingchina added a commit to limingchina/gluecodium that referenced this issue Aug 4, 2023
…pp,swift,dart.

The android generator(java) already works

see: heremaps#1544
Signed-off-by: Ming Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant