Skip to content

Commit

Permalink
Update core/src/main/scala/shapeless/generic.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
joroKr21 authored Jul 30, 2020
1 parent eb2b43c commit 85ed003
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/scala/shapeless/generic.scala
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,9 @@ trait CaseClassMacros extends ReprTypes with CaseClassMacrosVersionSpecifics {
mkAttributedRef(pre, getter)
}

/** Check if `sym` is annotated by [[nonGeneric]]
* including more processes to avoid known issues about annotation and macro. */
/**
* Check if `sym` or any of its overrides are annotated by [[nonGeneric]].
*/
def isNonGeneric(sym: Symbol): Boolean = {
def check(sym: Symbol): Boolean = {
// See https://issues.scala-lang.org/browse/SI-7424
Expand Down

0 comments on commit 85ed003

Please sign in to comment.