Overload decorators for argument-free use
Closed this issue · 1 comments
liamhuber commented
I.e. if the first positional argument passed to the decorator is a callable (rather than a string), verify that there are no other arguments and then act on the received value. This avoids the trailing parenthesis currently necessary with @...as_function_node()