-
Notifications
You must be signed in to change notification settings - Fork 245
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
fix(python): correctly emit slugified positional args #1081
Conversation
In the implementation of kernel calls, the positional argument list did not use the slugified argument name (in case where such an argument had a name conflict with a lifted kwarg), resulting in an incorrect argument list to be passed to `jsii-kernel`. This typically resulted in a type check error in the `jsii-kernel`, but could also have silently succeeded at making an incorrect call. Fixes aws/aws-cdk#4302
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it! |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
a7e4d09
to
41324ca
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
In the implementation of kernel calls, the positional argument list did
not use the slugified argument name (in case where such an argument had
a name conflict with a lifted kwarg), resulting in an incorrect argument
list to be passed to
jsii-kernel
. This typically resulted in a typecheck error in the
jsii-kernel
, but could also have silently succeededat making an incorrect call.
Fixes aws/aws-cdk#4302
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.