sematic icon indicating copy to clipboard operation
sematic copied to clipboard

Func-decorated functions' return types lint warning

Open tscurtu opened this issue 2 years ago • 3 comments

When decorating a function with @sematic.func, it is wrapped in a function that when invoked returns a Future bound to the passed parameters. This return instance type clashes with the declared return type, causing a minor annoyance in IDE linting:

image

Figure out how to make the lint warning go away without losing current functionality.

tscurtu avatar Feb 09 '23 22:02 tscurtu