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

Fix bad type specifications. #430

Merged
merged 1 commit into from
Dec 12, 2013

Conversation

cmeiklejohn
Copy link
Contributor

max_nb_const should be widened to include 'undefined', considering how
all callers into this function only ever pass undefined at this point.

Also, define a new 'target' type which is used, because currently, the
type is declared as string which is incorrect and triggering dialyzer
type warnings anywhere this type is referenced.

max_nb_const should be widened to include 'undefined', considering how
all callers into this function only ever pass undefined at this point.

Also, define a new 'target' type which is used, because currently, the
type is declared as string which is incorrect and triggering dialyzer
type warnings anywhere this type is referenced.
@slfritchie
Copy link
Contributor

+1, thanks!

cmeiklejohn added a commit that referenced this pull request Dec 12, 2013
@cmeiklejohn cmeiklejohn merged commit ca73d1a into develop Dec 12, 2013
@cmeiklejohn cmeiklejohn deleted the bugfix/csm/bad-type-specifications branch December 12, 2013 14:19
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