diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-05-26 23:31:38 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-05-27 00:54:14 -0400 |
| commit | 2dfb1ebee2bc215271e5416b723d746af319621b (patch) | |
| tree | 9b859eebd0926cb82c7370362baafec617e763dc /example | |
| parent | d6b01931ef8a04777ae198af323c2b6ba998f7b1 (diff) | |
| download | zig-2dfb1ebee2bc215271e5416b723d746af319621b.tar.gz zig-2dfb1ebee2bc215271e5416b723d746af319621b.zip | |
const global values can reference each other
Before, if you did something like:
```
const hi1 = "hi";
const hi2 = hi1;
```
This would create the "hi" data twice in the built object.
But since the value is const we don't have to duplicate the
data, now we take advantage of this fact.
closes #336
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
