Skip to content

Conversation

@viclovsky
Copy link
Contributor

Context

Fixed compiling under scala 2.13, set allure-scalatest scala 2.13 as default, fixed most of 'deprecated'

Checklist

@viclovsky
Copy link
Contributor Author

Scala 2.11 supporting is broken in master:

[Error] /Users/vicdev/IdeaProjects/allure-java/allure-scalatest/src/main/scala/io/qameta/allure/scalatest/AllureScalatest.scala:232: missing parameter type
[Error] /Users/vicdev/IdeaProjects/allure-java/allure-scalatest/src/main/scala/io/qameta/allure/scalatest/AllureScalatest.scala:233: overloaded method value updateTestCase with alternatives:
  (x$1: String,x$2: java.util.function.Consumer[io.qameta.allure.model.TestResult])Unit <and>
  (x$1: java.util.function.Consumer[io.qameta.allure.model.TestResult])Unit
 cannot be applied to (<error>, io.qameta.allure.model.TestResult => Unit)
two errors found

(scala 2.11 doesn't support SAM type)

And release versions < 2.12 isn't supported

The 2.11.11 release concludes the 2.11.x series, with no further releases planned. Please consider upgrading to 2.12!

I suggest removing 2.11 from project and supporting only two versions scala: 2.12 , 2.13

@eroshenkoam eroshenkoam requested a review from baev April 17, 2020 08:22
@baev baev merged commit b3720eb into allure-framework:master Apr 17, 2020
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.

3 participants