Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect force_unwrapping violation with array IUO #1710
Are you sure you're using 0.20.1? I couldn't reproduce it.
It is reproducible with 0.20.1.
It is triggered when an implicitly unwrapped array/dictionary variable is declared inside a function, closure, brackets, etc.
#1620 should not have introduced this. But I was not aware of SourceKitten limitation ( #136, jpsim/SourceKitten#151) when reporting local variable declaration at the time I wrote the fix for subscripts.
I've been trying to fix it for a while but no progress so far.