Skip to content

fix dialyzer error after upgrade to erlang19#1

Merged
PrajaktaPurohit merged 1 commit intomasterfrom
lbaker/fixes-for-erlang19
Mar 29, 2021
Merged

fix dialyzer error after upgrade to erlang19#1
PrajaktaPurohit merged 1 commit intomasterfrom
lbaker/fixes-for-erlang19

Conversation

@lbakerchef
Copy link
Copy Markdown

@lbakerchef lbakerchef commented Mar 26, 2021

dialyzer no longer implicitly assumes that uninitialized record fields
are allowed to be set to the atom 'undefined'. naturally this causes
breakages. here, we are telling dialyzer that key is allowed to be
'undefined'.

Signed-off-by: Lincoln Baker lbaker@chef.io

Description

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

dialyzer no longer implicitly assumes that uninitialized record fields
are allowed to be set to the atom 'undefined'.  naturally this causes
breakages.  here, we are telling dialyzer that key is allowed to be
'undefined'.

Signed-off-by: Lincoln Baker <lbaker@chef.io>
@PrajaktaPurohit PrajaktaPurohit merged commit f843f4d into master Mar 29, 2021
@PrajaktaPurohit PrajaktaPurohit deleted the lbaker/fixes-for-erlang19 branch March 29, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants