diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-27 19:54:48 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-27 20:35:12 -0400 |
| commit | 41c0ea851a542bcd7d54b8c5c06d70e1e00095e1 (patch) | |
| tree | 6880cd0c58c10545a9723115f712d86e12224347 /repl.c | |
| parent | df258c1773adef59994da2e010f74610eb81a1b2 (diff) | |
Deprecate "&" for stack references
Diffstat (limited to 'repl.c')
| -rw-r--r-- | repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ const TypeInfo_t *type_to_type_info(type_t *t) } case PointerType: { auto ptr = Match(t, PointerType); - CORD sigil = ptr->is_stack ? "&" : "@"; + CORD sigil = ptr->is_view ? "&" : "@"; const TypeInfo_t *pointed_info = type_to_type_info(ptr->pointed); const TypeInfo_t pointer_info = {.size=sizeof(void*), .align=__alignof__(void*), .tag=PointerInfo, .PointerInfo={.sigil=sigil, .pointed=pointed_info}}; |
