Last active
August 29, 2015 14:09
-
-
Save begeric/d01a7073873c5487117d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val collectDef = | |
collectIn[Set]{ | |
case t: Defn.Def if(!ignore(t)) => t.getName | |
}.down feed {defs => | |
collect{ | |
case Term.Assign(b: Term.Name, _) if(defs.contains(b)) => warning(b) | |
}.down | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment