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:
Sei Lisa 2020-04-23 13:39:34 +02:00
parent 4d75f0f792
commit 0affbf13dd
5 changed files with 68 additions and 9 deletions

View file

@ -0,0 +1,10 @@
default
{
state_entry()
{
llParticleSystem("" + llGetPhysicsMaterial());
llParticleSystem("" + llGetPhysicsMaterial());
llParticleSystem(0 + llGetPhysicsMaterial());
llParticleSystem(0 + llGetPhysicsMaterial());
}
}