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

Allow skipping type checking #73

Merged
merged 1 commit into from Nov 10, 2018
Merged

Allow skipping type checking #73

merged 1 commit into from Nov 10, 2018

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Nov 10, 2018

Steep skips type checking right-hand side of an assignment to __skip__. This can be used to workaround writing Ruby code with an unsupported syntax.

Also introducing __any__ for more descriptive cast.

__skip__ = begin
  def object.foo
    # Singleton method definition is not yet supported by Steep.
    # It raises an error without the meaningless the assignment.
  end
end

Steep skips type checking right hand side of assignment to `__skip__`. This can be used to workaround writing Ruby code with an unsupported syntax.
@soutaro soutaro merged commit 80a0617 into master Nov 10, 2018
@soutaro soutaro deleted the skip branch November 10, 2018 23:35
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

1 participant