sematic icon indicating copy to clipboard operation
sematic copied to clipboard

Add a nice error message if user tries to decorate a method with `@sematic.func`

Open augray opened this issue 2 years ago • 1 comments

class Foo:
    @sematic.func
    def bar(self):
        pass

should ideally give an error at time of wrapping rather than runtime, and have a nice message.

augray avatar Sep 09 '22 22:09 augray

Hello! Can I work on this issue?

mstew2 avatar Sep 19 '22 13:09 mstew2

Sorry for not seeing your comment earlier. Yes, please do!

augray avatar Nov 04 '22 18:11 augray

Fixed by #297.

tscurtu avatar Nov 11 '22 09:11 tscurtu