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

Handle inter-expansion top-level args properly #290

Merged
merged 1 commit into from Dec 3, 2019
Merged

Conversation

CreepySkeleton
Copy link
Collaborator

@CreepySkeleton CreepySkeleton commented Dec 2, 2019

Fixes #151
Fixes #289
Fixes #113

Copy link
Owner

@TeXitoi TeXitoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically a breaking change, but OK with that.

@CreepySkeleton
Copy link
Collaborator Author

CreepySkeleton commented Dec 3, 2019

@TeXitoi What's breaking about it?

@TeXitoi
Copy link
Owner

TeXitoi commented Dec 3, 2019

just doing a cargo update will change the behavior of the program as the top level annotations of parent types will be executed.

@CreepySkeleton
Copy link
Collaborator Author

top level annotations of parent types will be executed.

Well, I really doubt someone out there would put an attribute and expect it not to apply :)

@CreepySkeleton CreepySkeleton merged commit 0142a27 into master Dec 3, 2019
@CreepySkeleton CreepySkeleton deleted the app_methods branch December 3, 2019 09:12
@TeXitoi
Copy link
Owner

TeXitoi commented Dec 3, 2019

That's why i'm OK with that, but it can happen as someone might tests some things and do not remove top level attribute but is happy with the result.

@TeXitoi
Copy link
Owner

TeXitoi commented Dec 3, 2019

It can be considered as a bug.

@CreepySkeleton
Copy link
Collaborator Author

do not remove top level attribute but is happy with the result.

You don't exactly expect such careless programming yield good results :)

@TeXitoi
Copy link
Owner

TeXitoi commented Dec 3, 2019

Welcome to the real world! ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants