1.1 --- a/templates/ops.c Mon Nov 28 01:00:10 2016 +0100
1.2 +++ b/templates/ops.c Mon Nov 28 15:30:52 2016 +0100
1.3 @@ -172,9 +172,9 @@
1.4
1.5 __attr __test_context(__ref context, __attr attr)
1.6 {
1.7 - /* Preserve any existing instance context. */
1.8 + /* Preserve any existing null or instance context. */
1.9
1.10 - if (__is_instance(attr.context))
1.11 + if ((attr.context == 0) || __is_instance(attr.context))
1.12 return attr;
1.13
1.14 /* Test any instance context against the context employed by the