|
|
|
[
Permlink
| « Hide
]
Lex Neva added a comment - 31/Jan/08 09:01 AM
To be perfectly honest, I'm much happier with a compilation error than with it silently ignoring the first event handler of each type. If you've got a lot of events in a state, it's easy to lose track of one and accidentally redeclare it... this can be a debugging nightmare. I know we're purely looking for and reporting differences between the old and new systems, though.
Speaking of duplicate states....
This is a dupe of Note: This would be a good office hour topic. I'd like to hear input on whether we should "fix" this, fix LSL2, or just leave things the way they are. There are arguments either way... I didn't even know it's possible in LSL2 system to have multiple events, until finding this. I agree, actually. In my opinion a compilation error is better than it accepting duplicate events.
OK, both this and
default } } "Assemble to CIL failed." I'm re-opening this one, as it's the more general one – the problem occurs with any duplicate event handler, not just state_entry. Compiler fix. That is it will cause a compile error for both LSL and Mono
Close, but no cigar:
default } state Two { } ERROR: Name previously declared within scope Oh damn, that's pretty bad. We'll look at this first thing monday.
New LSL compiler deployed to Mono beta hosts.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||