Skip to content

Commit 7b038b9

Browse files
committed
Update ErasureHelper.scala
1 parent 02d0d2b commit 7b038b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala-2/com/github/swagger/scala/converter/ErasureHelper.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private[converter] object ErasureHelper {
1818
val companion: universe.Symbol = moduleSymbol.typeSignature.member(universe.TermName(ConstructorName))
1919
val properties =
2020
Try(companion.asTerm.alternatives.head.asMethod.paramLists.flatten).getOrElse {
21-
val sym = mirror.staticClass(cls.getName)
21+
val sym = mirror.classSymbol(cls)
2222
sym.selfType.members
2323
.filterNot(_.isMethod)
2424
.filterNot(_.isClass)

0 commit comments

Comments
 (0)