Consider the attached Silver/Cooper project:
consoleapplication229.zip (228.2 KB)
- Compiling in Fire 2405 gives
Object reference not set to an instance of an object
- If you add the type to the closure to give the compiler a hand, Fire baulks at the throws in the function type:
- If you remove the
throwsfrom 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