Skip to content

Commit

Permalink
Use := instead of = for store predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
niyaznigmatullin committed Dec 7, 2023
1 parent 464a27f commit 3e8b884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ArrayStorePredicate(
val componentType: KexType
get() = (arrayRef.type as? KexReference)?.reference ?: unreachable { log.error("Non-array type of array ref") }

override fun print() = "*($arrayRef) = $value"
override fun print() = "*($arrayRef) := $value"

override fun <T : Transformer<T>> accept(t: Transformer<T>): Predicate {
val ref = t.transform(arrayRef)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class FieldStorePredicate(
@Required @Contextual override val location: Location = Location()) : Predicate() {
override val operands by lazy { listOf(this.field, this.value) }

override fun print() = "*($field) = $value"
override fun print() = "*($field) := $value"

override fun <T : Transformer<T>> accept(t: Transformer<T>): Predicate {
val tField = t.transform(field)
Expand Down

0 comments on commit 3e8b884

Please sign in to comment.