In [2]: from macropy.case_classes import macros, case
In [3]: @case
...: class Point(x, y): pass
...:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-3-24790b7cee0d> in <module>()
1 @case
----> 2 class Point(x, y): pass
NameError: name 'x' is not defined
It's also true with source code.