You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a property in a ParsableCommand has a custom Decodable implementation, but it is not a Flag, Option or Argument, and the custom decodable implementation uses nestedContainer, the program will crash.
When a property in a ParsableCommand has a custom
Decodable
implementation, but it is not a Flag, Option or Argument, and the custom decodable implementation usesnestedContainer
, the program will crash.The crash is the following:
ArgumentParser version:
1.5.0
Swift version: Paste the output of
swift --version
here.Checklist
main
branch of this packageSteps to Reproduce
Expected behavior
This property should be ignored
Actual behavior
Sidenote
Important to note is that on Swift 5.7, this will cause the compiler to crash in debug mode, but not in release mode
The text was updated successfully, but these errors were encountered: