Skip to content

Conflicting attributes #597

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

Closed
ghost opened this issue Aug 6, 2023 · 4 comments
Closed

Conflicting attributes #597

ghost opened this issue Aug 6, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2023

I need this workaround for now:

exclude:
  fields:
    - 'com.artifex.mupdf.fitz.LinkDestination#type'
@ghost
Copy link
Author

ghost commented Aug 6, 2023

#664 should apply here(?), but it doesn't.

EDIT: could be duplicate of #614?

@HosseinYousefi
Copy link
Member

type already exists in the set of keywords: https://github.com/dart-lang/jnigen/blob/main/jnigen/lib/src/bindings/renamer.dart#L68

What version of jnigen are you using?

@ghost
Copy link
Author

ghost commented Aug 8, 2023

^0.5.0, should be the latest.

@HosseinYousefi
Copy link
Member

This is solved on the main branch. I will publish 0.6.0 soon, in the meanwhile you can use a git dependency.

@HosseinYousefi HosseinYousefi transferred this issue from dart-archive/jnigen Nov 17, 2023
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