aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-05-26 23:31:38 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-05-27 00:54:14 -0400
commit2dfb1ebee2bc215271e5416b723d746af319621b (patch)
tree9b859eebd0926cb82c7370362baafec617e763dc /src/main.cpp
parentd6b01931ef8a04777ae198af323c2b6ba998f7b1 (diff)
downloadzig-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 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions