JakubLinhart / SphereSharp

1 stars 3 forks source link

Excessive evaluation around argument in safe #10

Open JakubLinhart opened 6 years ago

JakubLinhart commented 6 years ago

For example arg(l1,"<safe arg(l1)><fun1> ") is transpiled to: local.l1="<<local.l1>><fun1> " but expected correct code is local.l1="<local.l1><fun1> ".

Test:

TranspileStatementCheck("arg(l1,\"<safe arg(l1)><fun1> \")", "local.l1=\"<local.l1><fun1> \"");