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

Use type instead of is_a? in filters #10815

Merged
merged 3 commits into from
Jun 21, 2021

Conversation

caspiano
Copy link
Contributor

Updates a few instances of .is_a? in use instead of using the type directly in a filter.

src/compiler/crystal/semantic/call.cr Outdated Show resolved Hide resolved
src/compiler/crystal/semantic/call_error.cr Outdated Show resolved Hide resolved
@straight-shoota
Copy link
Member

@caspiano this needs an update

@beta-ziliani beta-ziliani merged commit 71d6e9b into crystal-lang:master Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants