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

Infer parameters. Fixes #51 #157

Merged
merged 3 commits into from Oct 5, 2015
Merged

Infer parameters. Fixes #51 #157

merged 3 commits into from Oct 5, 2015

Conversation

tmcw
Copy link
Member

@tmcw tmcw commented Oct 4, 2015

This uses the AST to add (untyped) params where they aren't explicitly
specified.

Would love to infer types here as well, but espree doesn't support
them yet.

cc @anandthakker / @jfirebaugh for the review

This uses the AST to add (untyped) params where they aren't explicitly
specified.

Would love to infer types here as well, but espree doesn't support
them yet.

cc @anandthakker / @jfirebaugh for the review
@tmcw tmcw changed the title Infer parameters Infer parameters. Fixes #51 Oct 4, 2015

// Ensure that explicitly specified parameters are not overridden
// by inferred parameters
var existingParams = comment.tags.filter(function (tag) {
Copy link
Member

Choose a reason for hiding this comment

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

Use comment.params here to avoid the filter.

@tmcw
Copy link
Member Author

tmcw commented Oct 4, 2015

Gotcha, done. Now only deals with comment.params.

@tmcw tmcw mentioned this pull request Oct 5, 2015
tmcw added a commit that referenced this pull request Oct 5, 2015
@tmcw tmcw merged commit 472e7ff into master Oct 5, 2015
@tmcw tmcw deleted the infer-params branch October 5, 2015 01:55
rhendric pushed a commit to rhendric/documentation that referenced this pull request Sep 15, 2022
…umentationjs#160)

* Update compiler solvable type classes, Fixes documentationjs#157

* Update Type-Classes.md

* Remove ConsSymbol and descriptions

* Change class -> classes
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