Skip to content

Commit fe9f46e

Browse files
Fixing Comment (#8264)
a52bf53a3af588bf44fb096b74d14aa12ce23259
1 parent 537bd34 commit fe9f46e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/kotlin/wasm/host/soroban/types/VecType.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,8 @@ object VecType : ArrayType() {
146146

147147
/*
148148
* NOTE: Underapproximated impl of `contains` based on `LoopUnrollConstant`.
149-
* This is unsound but John mentioned that we do this elsewhere for EVM
150-
* when passing an array of structs (or other complex types) to an external function,
151-
* so it's not too egregious.
149+
* The approach is similar to our EVM handling
150+
* when passing an array of structs (or other complex types) to an external function.
152151
* If we ever do reason about loop invariants, this will require a revisit.
153152
* */
154153
fun findFirst(dest: TACSymbol.Var, handle: TACSymbol, value: TACSymbol) =

0 commit comments

Comments
 (0)