<commit_before>package org.jetbrains.plugins.scala
package lang
package psi
package impl
package expr

import com.intellij.lang.ASTNode
import org.jetbrains.plugins.scala.lang.psi.api.expr._
import org.jetbrains.plugins.scala.lang.psi.types.result._

/**
  * @author <NAME>
  *         Date: 07.03.2008
  *         Time: 9:24:19
  */
class ScParenthesisedExprImpl(node: ASTNode) extends ScExpressionImplBase(node) with ScParenthesisedExpr {

  protected override def innerType: TypeResult = {
    innerElement match {
      case Some(x: ScExpression) =>
        val res = x.getNonValueType()
        res
      case _ => Failure("No expression in parentheseses")
    }
  }

  override def toString: String = "ExpressionInParenthesis"
}<commit_msg>don't find implicit arguments for parameterized expressions #SCL-13977 fixed<commit_after>package org.jetbrains.plugins.scala
package lang
package psi
package impl
package expr

import com.intellij.lang.ASTNode
import org.jetbrains.plugins.scala.lang.psi.api.expr._
import org.jetbrains.plugins.scala.lang.psi.types.result._
import org.jetbrains.plugins.scala.lang.resolve.ScalaResolveResult

/**
  * @author <NAME>
  *         Date: 07.03.2008
  *         Time: 9:24:19
  */
class ScParenthesisedExprImpl(node: ASTNode) extends ScExpressionImplBase(node) with ScParenthesisedExpr {

  protected override def innerType: TypeResult = {
    innerElement match {
      case Some(x: ScExpression) =>
        val res = x.getNonValueType()
        res
      case _ => Failure("No expression in parentheseses")
    }
  }

  // implicit arguments are owned by inner element
  override def findImplicitArguments: Option[Seq[ScalaResolveResult]] = None

  override def toString: String = "ExpressionInParenthesis"
}
{'fraction_non_alphanumeric': 0.09423186750428326, 'fraction_numerical': 0.01770416904625928, 'mean_word_length': 3.7223719676549867, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2684069', 'n_tokens_mistral': 564, 'n_tokens_neox': 517, 'n_words': 128}