Skip to content

Commit

Permalink
Merge pull request #800 from viperproject/meilers_adt_allow_other_ext…
Browse files Browse the repository at this point in the history
…ensions

Preventing ADT plugin crash when it finds unknown AST extensions
  • Loading branch information
marcoeilers authored Jun 11, 2024
2 parents 1b588f0 + af7a21a commit 46513ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ class AdtEncoder(val program: Program) extends AdtNameManager {
*/
private def containsFunctionIsDerived: Boolean = program.extensions.exists {
case a: Adt => a.derivingInfo.contains(getContainsFunctionName)
case _ => false
}

/**
Expand Down

0 comments on commit 46513ef

Please sign in to comment.