Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RakuAST: fix handling of constants in coercing situations
In the "maybe typename" check, check if the given name is a known type (by name). However, some ASTs (specificall RakuAST::Type::Coercion) do not have a name: take that to mean it is indeed a type. The ::Coercion case happens with embedded coercions, such as Int(Str())
- Loading branch information