mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-03 00:18:20 +00:00
Fix "" + list_expr producing list_expr
The type checks were not strong enough. While on it, strengthen other similar checks as well. Reported by @Tonaie. Fixes #13.
This commit is contained in:
parent
4d75f0f792
commit
0affbf13dd
5 changed files with 68 additions and 9 deletions
10
unit_tests/regression.suite/issue-13.out
Normal file
10
unit_tests/regression.suite/issue-13.out
Normal file
|
@ -0,0 +1,10 @@
|
|||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llParticleSystem("" + llGetPhysicsMaterial());
|
||||
llParticleSystem("" + llGetPhysicsMaterial());
|
||||
llParticleSystem(0 + llGetPhysicsMaterial());
|
||||
llParticleSystem(0 + llGetPhysicsMaterial());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue