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

[WIP] Treat obvious return types as annotated #4411

Closed
wants to merge 2 commits into from

Conversation

elazarg
Copy link
Contributor

@elazarg elazarg commented Dec 26, 2017

Implementing #4409.

  • Only literal types for now
  • The join is very naive (of course, it must be very simple)

defn.type is used on master to signify unannotated functions and bad signatures; I think distinguishing between the purposes is important regardless of the proposal.

Also:

  • Find a good name for the feature.

(I open it early to accompany the discussion at #4409)

Don't use defn.type = None to denote "unchecked" function; set explicit
flag for that.
@elazarg
Copy link
Contributor Author

elazarg commented Dec 28, 2017

Closing for now as it isn't likely to see daylight anytime soon.

@elazarg elazarg closed this Dec 28, 2017
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.

1 participant