Skip to content

Commit

Permalink
tweak saneSym to avoid importing protected values
Browse files Browse the repository at this point in the history
  • Loading branch information
Li Haoyi committed Feb 3, 2016
1 parent e87c6c6 commit 139e92b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repl/src/main/scala/ammonite/repl/interp/AmmonitePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ object AmmonitePlugin{
sym.exists &&
!sym.isSynthetic &&
!sym.isPrivate &&
!sym.isProtected &&
sym.isPublic &&
!ignoredSyms(sym.toString) &&
!ignoredNames(sym.name.decoded)
}
Expand Down

0 comments on commit 139e92b

Please sign in to comment.