dry-python/classes

Support `pass` for typeclass bodies

sobolevn opened this issue · 0 comments

from classes import typeclass

@typeclass
def listContents(value, path:str, wfile) -> None:
   pass  # error: Typeclass definitions must not have bodies

produces an error: Typeclass definitions must not have bodies
It should not. This definition is fine.