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
|
@ -23,5 +23,21 @@ default{timer(){
|
|||
a = (list)(list)(list)(list)(list)[b] + a;
|
||||
a = (list)(list)(list)(list)(list)1 + a;
|
||||
a = (list)(list)(list)(list)(list)b + a;
|
||||
a += (llGetPhysicsMaterial() + 0);
|
||||
a += (llGetPhysicsMaterial() + 0.);
|
||||
a += (llGetPhysicsMaterial() + "");
|
||||
a += (llGetPhysicsMaterial() + []);
|
||||
a += (0 + llGetPhysicsMaterial());
|
||||
a += (0. + llGetPhysicsMaterial());
|
||||
a += ("" + llGetPhysicsMaterial());
|
||||
a += ([] + llGetPhysicsMaterial());
|
||||
a += ([] + llGetPhysicsMaterial() + []);
|
||||
a += (0 + []);
|
||||
a += (0. + []);
|
||||
a += ("" + []);
|
||||
a += ([] + 0);
|
||||
a += ([] + 0.);
|
||||
a += ([] + "");
|
||||
a += ([] + []);
|
||||
llParticleSystem(a);
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue