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

(PDOC-285) Fix data_type_handler for errors and numbers #209

Merged
merged 1 commit into from
Aug 6, 2019

Conversation

glennsarti
Copy link
Contributor

Previously the data_type_handler would throw errors if the ruby datatype had
errors in the puppet interface definition. This commit traps the Puppet Syntax
Errors and throws a useful warning explaining where the error occured and allows
yard to continue parsing.

Previously numeric default values were not being detected correctly. This
commit updates the Literal Evaluator to understand negative values and also adds
tests for the different kinds of Puppet Literal Numbers.

Previously the data_type_handler would throw errors if the ruby datatype had
errors in the puppet interface definition.  This commit traps the Puppet Syntax
Errors and throws a useful warning explaining where the error occured and allows
yard to continue parsing.

Previously numeric default values were not being detected correctly.  This
commit updates the Literal Evaluator to understand negative values and also adds
tests for the different kinds of Puppet Literal Numbers.
@glennsarti glennsarti changed the title (maint) Fix data_type_handler for errors and numbers (PDOC-285) Fix data_type_handler for errors and numbers Jul 30, 2019
Copy link
Contributor

@scotje scotje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@scotje scotje merged commit 90182c9 into puppetlabs:master Aug 6, 2019
@eputnam eputnam added the bugfix label Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants