andyglow / scala-xml-diff

Scala XML Diff
GNU Lesser General Public License v3.0
9 stars 7 forks source link

fix compile warning in Eval.scala #16

Closed andyglow closed 2 years ago

andyglow commented 2 years ago

such as

[warn] -- Warning: /Users/andriyonyshchuk/Projects/OpenSource/scala-xml-diff/src/main/scala/com/github/andyglow/xml/diff/Eval.scala:61:11
[warn] 61 |      case c: Eval.FlatMap[A] =>
[warn]    |           ^^^^^^^^^^^^^^^^^^
[warn]    |the type test for com.github.andyglow.xml.diff.Eval.FlatMap[A] cannot be checked at runtime

fixing warning brought by #15