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

Remove UnnecessarySafeCall safeguard against ErrorType #3439

Merged

Conversation

cortinico
Copy link
Member

Opening this to recall to remove this extra patch introduced in #3419
A fix was pushed upstream in the Kotlin compiler and should land in Kotlin 1.5

As soon as we bump the compiler-embeddable version we can also merge this PR (as the tests should be green)

Base automatically changed from master to main March 21, 2021 18:44
@BraisGabin
Copy link
Member

We should be able to unblock this now, right?

@cortinico cortinico force-pushed the nc/unnecessary-safe-call-patch-fix branch from 4a45b72 to dfa014c Compare May 22, 2021 17:07
@cortinico
Copy link
Member Author

@chao2zhang
Copy link
Member

Kotlin compiler fix is included in 1.5.20-M1, so we should be unblocked by then.

@chao2zhang chao2zhang closed this Jun 1, 2021
@chao2zhang chao2zhang reopened this Jun 1, 2021
@chao2zhang
Copy link
Member

Ooops sorry I misclicked the button.

@3flex 3flex marked this pull request as ready for review August 28, 2021 06:06
@3flex 3flex removed the blocked label Aug 28, 2021
@3flex
Copy link
Member

3flex commented Aug 28, 2021

I checked out this branch, rebased on main & ran a full build, so this just needs a rebase to check the CI passes on all platforms then it can be merged for 1.18.1 or 1.19.0.

@cortinico cortinico force-pushed the nc/unnecessary-safe-call-patch-fix branch from dfa014c to dad91a1 Compare August 30, 2021 10:57
@cortinico cortinico added this to the 1.19.0 milestone Aug 30, 2021
@cortinico
Copy link
Member Author

so this just needs a rebase to check the CI passes on all platforms

Just rebased 👍

@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #3439 (dad91a1) into main (3ecac0d) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #3439      +/-   ##
============================================
+ Coverage     83.58%   83.60%   +0.01%     
  Complexity     3187     3187              
============================================
  Files           459      459              
  Lines          9101     9099       -2     
  Branches       1772     1771       -1     
============================================
  Hits           7607     7607              
+ Misses          561      560       -1     
+ Partials        933      932       -1     
Impacted Files Coverage Δ
...rturbosch/detekt/rules/bugs/UnnecessarySafeCall.kt 80.95% <ø> (+7.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ecac0d...dad91a1. Read the comment docs.

@BraisGabin BraisGabin merged commit 1e37dfe into detekt:main Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants