Skip to content

Commit

Permalink
Make tests pass.
Browse files Browse the repository at this point in the history
Added documentation (scalacenter#260)
  • Loading branch information
ag91 committed Nov 21, 2017
1 parent 129aac6 commit 1dacd0b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ object RuleInstrumentation {
object ExtendsRule {
def unapply(templ: Template): Boolean = templ match {
case Template(_, init"Rewrite" :: _, _, _) => true
case Template(_, init"Rule($_)" :: _, _, _) => true
case Template(_, init"SemanticRewrite($_)" :: _, _, _) => true
case Template(_, init"SemanticRule($_, $_)" :: _, _, _) => true
case Template(_, init"Rule($_, $_)" :: _, _, _) => true
case Template(_, init"SemanticRewrite($_, $_)" :: _, _, _) => true
case Template(_, init"SemanticRule($_, $_, $_)" :: _, _, _) => true
case _ => false
}
}
Expand Down

0 comments on commit 1dacd0b

Please sign in to comment.