Re: Should merge suppress errors

2016-09-21 Thread Richard Gaskin
Monte Goulding wrote: >> On 22 Sep 2016, at 8:03 AM, Richard Gaskin wrote: >> >> Either way, seems worth exploring, either refining the behavior >> or the token's documentation. > > I personally don’t see any harm in throwing a general merge > evaluation error and it would be relatively easy to i

Re: Should merge suppress errors

2016-09-21 Thread Monte Goulding
> On 22 Sep 2016, at 8:03 AM, Richard Gaskin wrote: > > Either way, seems worth exploring, either refining the behavior of the > token's documentation. I personally don’t see any harm in throwing a general merge evaluation error and it would be relatively easy to implement. It would be signif

Re: Should merge suppress errors

2016-09-21 Thread Richard Gaskin
Monte Goulding wrote: >> On 22 Sep 2016, at 6:51 AM, Richard Gaskin wrote: >> >> Interesting. If merge is indeed thwarting normal error handling >> then that may be related. > > Has merge ever thrown errors on invalid expressions? It seems to be > deliberately implemented so it doesn’t and I don

Re: Should merge suppress errors

2016-09-21 Thread Monte Goulding
> On 22 Sep 2016, at 6:51 AM, Richard Gaskin wrote: > > Interesting. If merge is indeed thwarting normal error handling then that > may be related. Has merge ever thrown errors on invalid expressions? It seems to be deliberately implemented so it doesn’t and I don’t recall it ever doing ot

Re: Should merge suppress errors

2016-09-21 Thread Richard Gaskin
Interesting. If merge is indeed thwarting normal error handling then that may be related. I just filed a report on this: http://quality.livecode.com/show_bug.cgi?id=18457 I added a second test in which the merge call is within a try block, with even weirder results than the first exercise (se

Re: Should merge suppress errors

2016-09-21 Thread Sannyasin Brahmanathaswami
semi related, but since 8.* I'm seeing errors that block execution but never throw an error dialog as such… I have turned on debugging and am trying to watch for a recipe. But there are times when stack script: edit/compile (no error thrown) botton: calls function or fires command in stack scri

Should merge suppress errors

2016-09-21 Thread Richard Gaskin
Try this: on mouseUp put "This is [[ foo() ]] a test" into s put merge(s) put foo() end mouseUp function foo return 1 + "string" end foo Observed result: "This is a test" appears in the Message Box Expected result: LC would throw an error in the foo function. Now comment out the line