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

corrected function optional_t #11

Merged
merged 1 commit into from Jul 15, 2014
Merged

Conversation

yulangie
Copy link
Contributor

Removed the line ' default = optional_s(default, nil) ' which is not doing anything (default always keeps its current value after this line, irrespective of being nil or not).
Corrected the second case ' elseif default ~= nil ... ' which would previously behave wrongly for boolean default value 'false'.

Removed the line ' default = optional_s(default, nil) ' which is not doing anything (default always keeps its current value after this line, irrespective of being nil or not). 
Corrected the second case ' elseif default ~= nil ... ' which would previously behave wrongly for boolean default value 'false'.
akfidjeland added a commit that referenced this pull request Jul 15, 2014
corrected function optional_t
@akfidjeland akfidjeland merged commit 5cfae8d into rosejn:master Jul 15, 2014
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.

None yet

2 participants