Well... you might have figured out that the scripted try catch is different than the tag based version. I don't disagree that is a bug... but it seems to me that good code certainly would also have a unique exception handler variable name. So it makes sense that they didn't come across this one in beta... is this something new or has this existed since they added try/catch to scripting for CF? If it is an preexisting bug then they might consider first the dynamics of fixing the bug and how that could possibly break someone's code. (I think that is should be fixed either way.) Also, how about BD... does this work over there anyone?
John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Cameron Sent: Sunday, October 23, 2005 8:13 AM To: [email protected] Subject: [CFCDev] 7.0.1 bug Run this code in 7.0 and then 7.0.1. <cfscript> function f(){ var e = structNew(); try { x = 1 / 0; writeOutput("Will never see this"); } catch (any e){ writeOutput("Well that was never gonna work, was it?"); } } f(); </cfscript> What I'm seeing in 7.0.1 is an error, thus: "Cannot declare local variable e twice." What's the story here? -- Adam -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 21/10/2005 This email contains confidential information. If you are not the intended recipient of this email, please notify Straker Interactive and delete the email. You are not entitled to use it in any way. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
