mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-03 00:18:20 +00:00
Fix bug in inlining of empty for() initializer
It was causing an exception. Fixed now. Thanks to Cindy Reynaud for reporting the problem and sending a backtrace.
This commit is contained in:
parent
65f217afa8
commit
128005e889
4 changed files with 27 additions and 2 deletions
10
unit_tests/regression.suite/inliner-for-bug.lsl
Normal file
10
unit_tests/regression.suite/inliner-for-bug.lsl
Normal file
|
@ -0,0 +1,10 @@
|
|||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
for (; llSetRegionPos(<0,0,2>); llSleep(3))
|
||||
{
|
||||
llSleep(4);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue