Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
oveeernight committed Sep 11, 2024
1 parent 39ad24d commit cea9cb0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ class UTypeConstraints<Type>(
init {
equalityConstraints.subscribeEquality(::intersectRegions)
}

@Suppress("UNCHECKED_CAST")
val inputRefToTypeRegion: Map<UHeapRef, UTypeRegion<Type>>
get(): Map<UHeapRef, UTypeRegion<Type>> {
@Suppress("UNCHECKED_CAST")
val inputTypeRegions: MutableMap<UHeapRef, UTypeRegion<Type>> =
symbolicRefToTypeRegion.toMutableMap() as MutableMap<UHeapRef, UTypeRegion<Type>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ULogicalConstraints private constructor(
get() = constraints.any(UBoolExpr::isFalse)

fun contradiction(ctx: UContext<*>, ownership: MutabilityOwnership) {
constraints = persistentHashSetOf<KExpr<UBoolSort>>().add(ctx.falseExpr, ownership)
constraints = persistentHashSetOf<UBoolExpr>().add(ctx.falseExpr, ownership)
}

/**
Expand Down

This file was deleted.

0 comments on commit cea9cb0

Please sign in to comment.