Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ object GenerateMIMAIgnore {
private def isPackagePrivate(sym: unv.Symbol) =
!sym.privateWithin.fullName.startsWith("<none>")

private def isPackagePrivateModule(moduleSymbol: unv.ModuleSymbol) =
private def isPackagePrivateModule(moduleSymbol: unv.ModuleSymbol) = try {
!moduleSymbol.privateWithin.fullName.startsWith("<none>")
} catch {
case e: Throwable =>
// scalastyle:off println
println("[WARN] Unable to check module:" + moduleSymbol)
// scalastyle:on println
false
}

/**
* For every class checks via scala reflection if the class itself or contained members
Expand Down