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

Remove Signature.vectorizes_over_list entirely #9777

Merged
merged 4 commits into from Jul 26, 2023

Conversation

sholderbach
Copy link
Member

@sholderbach sholderbach commented Jul 23, 2023

Description

With the current typechecking logic this property has no effect.
It was only used in the example testing, and provided some indication of
this vectorizing property.
With #9742 all commands that previously declared it have explicit list
signatures. If we want to get it back in the future we can reconstruct
it from the signature.

Simplifies the example testing a bit.

User-Facing Changes

Causes a breaking change for plugins that previously declared it. While this causes a compile fail, this was already broken by our more stringent type checking.
This will be a good reminder for plugin authors to update their signature as well to reflect the more stringent type checking.

With the current typechecking logic this property has no effect.
It was only used in the example testing, and provided some indication of
this vectorizing property.
With nushell#9742 all commands that previously declared it have explicit list
signatures. If we want to get it back in the future we can reconstruct
it from the signature.

Simplifies the example testing a bit.

Causes a breaking change for plugins that previously declared it.
This will be a good reminder to update their signature as well to
reflect the more stringent type checking.
@sholderbach sholderbach added type-system Problems or features related to nushell's type system pr:breaking-change This PR implies a change affecting users and has to be noted in the release notes labels Jul 23, 2023
Copy link
Member

@amtoine amtoine left a comment

Choose a reason for hiding this comment

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

this makes complete sense, thanks for going through all of these 😌

marking as wait for after the release for now

@sholderbach sholderbach merged commit b2e191f into nushell:main Jul 26, 2023
19 checks passed
@sholderbach sholderbach deleted the remove-vectorize branch July 26, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:breaking-change This PR implies a change affecting users and has to be noted in the release notes type-system Problems or features related to nushell's type system wait-until-after-nushell-release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants