Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
#4897: allow `raise E` where E: Type[Exn] #4918
I think your code would probably be cleaner and start type-checking if you first checked if it's an instance of TypeType and extracted the inner type before doing the
Basically, extract the inner type first if needed, then do the same checks whether the type was extracted or not.