-
Notifications
You must be signed in to change notification settings - Fork 93
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
Support Scala 2.12.16 #655
Conversation
@@ -56,10 +56,10 @@ class ComparingUnrelatedTypesTest extends InspectionTest { | |||
} | |||
"for char" - { | |||
"compared to char-sized long literal" in { | |||
verifyNoWarnings("""object A { val c = 'a'; val c = l == 97L }""") | |||
verifyNoWarnings("""object A { val c = 'a'; val l = c == 97L }""") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was throwing and error but not failing because it was no scapegoat warning.
@@ -83,10 +83,6 @@ class PartialFunctionInsteadOfMatchTest extends InspectionTest { | |||
future onComplete { | |||
case _ => | |||
} | |||
future onSuccess { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was throwing an error as well because onSuccess
doesn't exist anymore in Scala 2.13.
👍🏼 |
@sksamuel, could you please release a new version? |
I can do that |
It was released last month. I wanted to update a cross-built library but Scapegoat failed. This adds the relevant support.