Skip to content

Commit

Permalink
Comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydmeta committed Dec 5, 2014
1 parent 8d416a1 commit 46cc27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/src/main/scala/enumeratum/EnumMacros.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ object EnumMacros {

private def findSubclassSymbols(c: Context)(typeSymbol: c.universe.Symbol): Seq[c.universe.Symbol] = {
import c.universe._
val directKnownSubclasses = typeSymbol.asClass.knownDirectSubclasses.toList // is generaly empty dunno why
val directKnownSubclasses = typeSymbol.asClass.knownDirectSubclasses.toList // is generally empty dunno why
val enclosingBodySubclasses: List[Symbol] = try {
/*
Whem moving beyond 2.11, we should use this instead, because enclosingClass will be deprecated.
When moving beyond 2.11, we should use this instead, because enclosingClass will be deprecated.
val enclosingModuleMembers = c.internal.enclosingOwner.owner.typeSignature.decls.toList
enclosingModule.filter { x =>
Expand Down

0 comments on commit 46cc27a

Please sign in to comment.