You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want counters on generated variables be local, not global
Background and Motivation
Currently, to prevent shadowing from hurting compilers, we append a global counter to local variables.
However, at least in C#, when generating the code, the counters are shared across modules, which makes it that half of the modules change if one module is updated. This prevents compilation optimizations.
Proposed Feature
Reset to zero the global counter variable when resolving when entering a module
Alternatives
N/A
The text was updated successfully, but these errors were encountered:
Summary
I want counters on generated variables be local, not global
Background and Motivation
Currently, to prevent shadowing from hurting compilers, we append a global counter to local variables.
However, at least in C#, when generating the code, the counters are shared across modules, which makes it that half of the modules change if one module is updated. This prevents compilation optimizations.
Proposed Feature
Reset to zero the global counter variable when resolving when entering a module
Alternatives
N/A
The text was updated successfully, but these errors were encountered: