Skip to content

Commit

Permalink
Extend error message (#2633)
Browse files Browse the repository at this point in the history
  • Loading branch information
thpani authored Jul 5, 2023
1 parent 191bca0 commit 02d7cd0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ class UnsafeBaseBuilder extends ProtoBuilder {
case _ => buildBySignatureLookup(TlaOper.apply, retypedOp +: retypedArgs: _*)
}
case None =>
throw new TBuilderTypeException(s"Operator application argument types do not unify with the operator type.")
throw new TBuilderTypeException(
s"Operator application argument types ${mockOperT} do not unify with the operator type ${opType} in ${Op}(${args
.mkString(", ")}).")
}

}
Expand Down

0 comments on commit 02d7cd0

Please sign in to comment.