diff options
author | Shea Levy <shea@shealevy.com> | 2014-10-15 22:04:48 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-11-15 16:12:05 -0500 |
commit | 997defa16617caf5fd869924558389639d1c8caf (patch) | |
tree | ba286d246324da0066c8528639e43bd26c986cdb /tests/lang/eval-okay-callable-attrs.exp | |
parent | 8cfe939b0f222e3b27493a3c62e0b1088b12e110 (diff) |
Add functors (callable attribute sets).
With this, attribute sets with a `__functor` attribute can be applied
just like normal functions. This can be used to attach arbitrary
metadata to a function without callers needing to treat it specially.
Diffstat (limited to 'tests/lang/eval-okay-callable-attrs.exp')
-rw-r--r-- | tests/lang/eval-okay-callable-attrs.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-callable-attrs.exp b/tests/lang/eval-okay-callable-attrs.exp new file mode 100644 index 000000000..27ba77dda --- /dev/null +++ b/tests/lang/eval-okay-callable-attrs.exp @@ -0,0 +1 @@ +true |