Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Handle undefined classes in rule (sdk issue 32494) #918

Merged
merged 1 commit into from
Mar 12, 2018
Merged

Conversation

bwilkerson
Copy link
Contributor

The rule prefer_const_literals_to_create_immutables is throwing an exception when presented with invalid code involving an instance creation expression for which the class could not be resolved. This fixes that.

@bwilkerson bwilkerson requested a review from pq March 12, 2018 16:05
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0009%) to 96.866% when pulling 5a21462 on issue-32494 into 0a08840 on master.

@pq
Copy link
Contributor

pq commented Mar 12, 2018

Nice!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

5 participants