Couple of closure issues - compiler NRE

Consider the attached Silver/Cooper project:
consoleapplication229.zip (228.2 KB)

  1. Compiling in Fire 2405 gives Object reference not set to an instance of an object

  1. If you add the type to the closure to give the compiler a hand, Fire baulks at the throws in the function type:

  1. If you remove the throws from the function type, it’s all good. However, XCode refuses to compile this as the closure does in fact throw, so throws is correct.

I tried to confirm this on Fire 2421 as well, but it absolutely refused start on my mac with no error… a problem to investigate after downloading it again

Thanks, logged as bugs://82956

bugs://82956 got closed with status fixed.