> The problem is that pc 9/line 3 is the location of the invokecc > instruction that calls the erring test sub, not the location of the > get_results instruction where the problem is detected. I'm not sure how > to fix this, because it messes greatly with the modularity of how return > addresses are tracked. > > But I think it really ought to be fixed before the next release -- > that or the arg-checking requirement for exception handlers should be > relaxed, at least temporarily. I stumbled onto this when Kea-CL fell > afoul of the exception handling arg change introduced in r31294 (about > which I don't recall seeing any mention on the list). Because of the > misplaced error message, it took me a while to track it down.
I had the same problem some days ago, and also take me a while to figure the reason. I agree this is an annoying problem. -- Salu2