Invalid type resolution/evaluation in editor for valid code Follow
Answered
Hello all
When using Akka Testkit and chaining methods of the akka.stream.testkit.TestSubscriber.ManualProbe class IntelliJ (or Scala Plugin) is not properly resolving the return type. For example the following method:
def expectNext(element: I): Self = {
probe.expectMsg(OnNext(element))
self
}
Is supposed to be chainable, however IntelliJ (in Java) for some reason considers this a method returning Object:
The code however compiles fine.
Is this an issue I should create for the scala plugin or for IntelliJ?
BR
Yanick
Please sign in to leave a comment.
Hello Yanick,
Please report new issue in Scala project:http://youtrack.jetbrains.com/issues/SCL