-
Notifications
You must be signed in to change notification settings - Fork 7.6k
added 'semver' as core type accelerator for S.M.A.SemanticVersion #4142
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
Conversation
Appveyor temporary failed. |
Yeah, it seems one of the New-TimeSpan tests is failing. It must have already been broken when I merged to rebase. |
@PaulHigin currently |
@oising PowerShell core types are intended to be the absolute minimum needed in a constrained language interactive session. Can you tell us the scenario where this type is needed and why constrained language is required? |
@PaulHigin I guess I included it in core types for the same reasons you guys included |
@PaulHigin I think the rationale is that |
@daxian-dbw Yes, also good points. I took a cursory glance at the implementation and didn't see any red flags, but I'm also not privy to your criteria. |
Ok, I think this is reasonable. I'll review for security safety. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Filed #4221 to track adding tests for type accelerators in PowerShell. |
As per #3460
Added
[semver]
as a core (safe to use in constrained language mode) type accelerator forSystem.Management.Automation.SemanticVersion
.Individual accelerators are not currently being tested, so no unit tests were added or updated.