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

Exception when running a specs2 test in IntelliJ 2018.1 #303

Closed
hmemcpy opened this issue May 3, 2018 · 2 comments
Closed

Exception when running a specs2 test in IntelliJ 2018.1 #303

hmemcpy opened this issue May 3, 2018 · 2 comments

Comments

@hmemcpy
Copy link

hmemcpy commented May 3, 2018

org.jetbrains.plugins.scala.lang.psi.api.expr.ScInfixExpr.lOp()Lorg/jetbrains/plugins/scala/lang/psi/api/expr/ScExpression;
java.lang.NoSuchMethodError: org.jetbrains.plugins.scala.lang.psi.api.expr.ScInfixExpr.lOp()Lorg/jetbrains/plugins/scala/lang/psi/api/expr/ScExpression;
	at com.google.idea.blaze.scala.run.Specs2Utils.getSpecs2TestName(Specs2Utils.java:69)
	at com.google.idea.blaze.scala.run.Specs2Utils.getSpecs2ScopedTestName(Specs2Utils.java:74)
	at com.google.idea.blaze.scala.run.producers.BlazeScalaTestRunLineMarkerContributor.getSpecs2TestUrl(BlazeScalaTestRunLineMarkerContributor.java:134)
	at com.google.idea.blaze.scala.run.producers.BlazeScalaTestRunLineMarkerContributor.getTestUrl(BlazeScalaTestRunLineMarkerContributor.java:97)
	at com.google.idea.blaze.scala.run.producers.BlazeScalaTestRunLineMarkerContributor.getInfo(BlazeScalaTestRunLineMarkerContributor.java:84)
	at com.google.idea.blaze.scala.run.producers.BlazeScalaTestRunLineMarkerContributor.getInfo(BlazeScalaTestRunLineMarkerContributor.java:71)
   ...

Seems that ScInfixExpr.lOp() was removed in 2018.x, and replaced with ScInfixExpr.left.

How are API changes handled between plugin versions?

@hmemcpy hmemcpy changed the title Exception when running a specs2 text in IntelliJ 2018.1 Exception when running a specs2 test in IntelliJ 2018.1 May 3, 2018
@chaoren
Copy link
Collaborator

chaoren commented May 3, 2018

See sdkcompat.

@hmemcpy
Copy link
Author

hmemcpy commented May 3, 2018

Awesome, I'll take a look!

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

No branches or pull requests

2 participants