Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Jan 18, 2025
1 parent fa3ce3e commit 136d12c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ package """ :+ packageName :+ """
val input = Input.String(s"object FT { def signature$signature }")
val obj = implicitly[Parse[Stat]].apply(input, dialect).get.asInstanceOf[Defn.Object]
val templ = obj.templ
val defdef = templ.stats.head.asInstanceOf[Decl.Def]
val defdef = templ.body.stats.head.asInstanceOf[Decl.Def]
defdef.paramClauseGroups.headOption.map(_.paramClauses.map(_.values)).getOrElse(Nil)
} catch {
case e: ParseException => Nil
Expand Down

0 comments on commit 136d12c

Please sign in to comment.