# HG changeset patch # User Paul Boddie # Date 1485785735 -3600 # Node ID 147f414719f74064130efc0153a4ccffd7ab14f1 # Parent c38bb702df65be751f2de0ed4e3ffae6b85d9b5b Fix the members accessed in __update_context. diff -r c38bb702df65 -r 147f414719f7 templates/ops.c --- a/templates/ops.c Mon Jan 30 00:31:25 2017 +0100 +++ b/templates/ops.c Mon Jan 30 15:15:35 2017 +0100 @@ -234,7 +234,7 @@ __attr __update_context(__ref context, __attr attr) { - __attr out = {.context=context, .fn=attr.fn}; + __attr out = {.context=context, .value=attr.value}; return out; }