Skip to content

Commit

Permalink
Preventing ADT plugin crash when it finds unknown AST extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed Jun 11, 2024
1 parent 1b588f0 commit af7a21a
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 af7a21a

Please sign in to comment.