Well I take it back, temp is being captured by a c...
# announcements
h
Well I take it back, temp is being captured by a closure due to the use of
forEach
. If you use a
for
loop instead, smart cast will work.