-
Notifications
You must be signed in to change notification settings - Fork 28
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
Default deleteOriginal to true #700
Comments
Cross linking issues: |
I think Rationale:
JString s = ...;
final a = '${s.toDartString()}A';
// so far so good! but later they add:
final b = '${s.toDartString()}B'; // Error! Use after free...
However |
Alternatively, we could add two methods for each kind:
Maybe |
Closing as |
I wonder if deleteOrignal should default to true. If you're casting it's likely that you're only using the new casted value afterwards.
Originally posted by @dcharkes in dart-archive/jnigen#136 (comment)
The text was updated successfully, but these errors were encountered: