Skip to content

Commit

Permalink
Fix types of some string formula constructors.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbembenek committed Apr 21, 2019
1 parent c5f4eac commit d1aea77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ public Type getCompileTimeType() {
case STR_CONCAT:
return makeType(string, string, smt(string));
case STR_CONTAINS:
return makeType(string, string, smt(string));
return makeType(string, string, smt(bool));
case STR_INDEXOF:
return makeType(string, string, int_, smt(string));
return makeType(string, string, int_, smt(int_));
case STR_LEN:
return makeType(string, smt(int_));
case STR_PREFIXOF:
Expand Down

0 comments on commit d1aea77

Please sign in to comment.