Open guoxiaomind opened 5 years ago
Does validateString(A)
ensure that A
is not nil
? Infer will not always be able to conclude that accesses are safe. At the moment there is no way to suppress individual warnings but you can help infer by adding assert (A!=nil)
. Can you share the code of validateString()
?
Hi, I use infer in my Objective-C project, The result is not accuracy,for example,I use method check nonull : ` 13. if (XMUtils.validateString(A)) {