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

Undoing setting a function's type makes the initial auto type into a user type #6051

Open
negasora opened this issue Oct 28, 2024 · 0 comments
Labels
Component: Core Issue needs changes to the core Effort: Trivial Issue should take < 1 day Impact: Low Issue is a papercut or has a good, supported workaround Type: Bug Issue is a non-crashing bug with repro steps

Comments

@negasora
Copy link
Member

Instead of resetting the function's type to the auto defined function type, it set as a user type

>>> current_function.has_user_annotations
False
>>> current_function.stack_adjustment = current_function.stack_adjustment
>>> current_function.has_user_annotations
True
>>> bv.undo()
>>> current_function.has_user_annotations
True
@negasora negasora added Type: Bug Issue is a non-crashing bug with repro steps Component: Core Issue needs changes to the core Impact: Low Issue is a papercut or has a good, supported workaround Effort: Trivial Issue should take < 1 day labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Issue needs changes to the core Effort: Trivial Issue should take < 1 day Impact: Low Issue is a papercut or has a good, supported workaround Type: Bug Issue is a non-crashing bug with repro steps
Projects
None yet
Development

No branches or pull requests

1 participant