[Feature request] Remove parenthesis when using `raise` keyword
knocte opened this issue · 0 comments
knocte commented
Test1:
raise(InvalidPassword)
should become:
raise InvalidPassword
Test2:
raise InvalidPassword
should become (same):
raise InvalidPassword
(should not change)
Test3:
raise(AddressWithInvalidChecksum None)
should become:
raise <| AddressWithInvalidChecksum None
Test4:
raise(Exception("foo"))
should become:
raise <| Exception("foo")
Test5:
raise(Exception(ex.ToString(), (ex.InnerException)))
should become:
raise <| Exception(ex.ToString(), (ex.InnerException))