swift
7f43e52c - AST: fix casting from Decl to GenericContext

Commit
1 year ago
AST: fix casting from Decl to GenericContext Fixes `cast<GenericContext>(someDecl)`. I don't know why this didn't show up as a crash so far. But slightly changing `Decl` results in a wrong type cast and a crash.
Author
Committer
Parents
Loading