File tree Expand file tree Collapse file tree
kmir/src/kmir/kdist/mir-semantics/rt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1465,12 +1465,12 @@ Transmuting a pointer to an integer discards provenance and reinterprets the poi
14651465 rule #ptrOffsetBytes(PTR_OFFSET, TY:Ty)
14661466 => PTR_OFFSET *Int #elemSize(#lookupMaybeTy(elemTy(lookupTy(TY))))
14671467 requires PTR_OFFSET =/=Int 0
1468- andBool #isUnsizedArrayType (lookupTy(TY))
1468+ andBool #isArrayType (lookupTy(TY))
14691469 rule #ptrOffsetBytes(_, _) => -1 [owise] // should not happen
14701470
1471- syntax Bool ::= #isUnsizedArrayType ( TypeInfo ) [function, total]
1472- rule #isUnsizedArrayType (typeInfoArrayType(_, noTyConst )) => true
1473- rule #isUnsizedArrayType (_) => false [owise]
1471+ syntax Bool ::= #isArrayType ( TypeInfo ) [function, total]
1472+ rule #isArrayType (typeInfoArrayType(_, _ )) => true
1473+ rule #isArrayType (_) => false [owise]
14741474```
14751475
14761476``` k
You can’t perform that action at this time.
0 commit comments