aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-03 11:32:39 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-03 11:32:39 -0400
commit2a9329c9988430cfa11a8bb4b02da0dce8749028 (patch)
tree3d28b4c95037be90a5dbe735728b2b07184dbd96 /src/main.cpp
parent95636c7e5ff6ad0eeb768a2a0a1d7533b5872e20 (diff)
downloadzig-2a9329c9988430cfa11a8bb4b02da0dce8749028.tar.gz
zig-2a9329c9988430cfa11a8bb4b02da0dce8749028.zip
better anonymous struct naming
this makes anonymous structs inherit the name of the function they are in only when they are the return expression. also document the behavior and provide examples. closes #1243
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions