tarantool / avro-schema

Apache Avro schema tools for Tarantool
57 stars 4 forks source link

Revert "Give variables the same names in ir and in lua" #127

Closed Totktonada closed 5 years ago

Totktonada commented 5 years ago

This reverts commit c122bd108872a0f52ac688cdc733f7365bd950cd.

The reverted commit breaks variables reusing in generated code (see sched_variables_helper()), so it was possible to reach 200 local variables limit when trying to compile a large schema.

Added a test case.

Fixes #124.