HairyFotr / linter

Static Analysis Compiler Plugin for Scala
Apache License 2.0
268 stars 34 forks source link

Parboiled2 - MergeNestedIfs "False Positive" #61

Open thomassuckow opened 7 years ago

thomassuckow commented 7 years ago

Use of the parboiled2 library which uses scala macros causes a MergeNestedIfs warnings at every rule declaration

Parser.scala:6: warning: [MergeNestedIfs] These two nested ifs can be merged into one.
def Input = rule {
                 ^