Unverified Commit 505a9ae8 authored by Sirraide's avatar Sirraide Committed by GitHub
Browse files

[Clang] Look through type sugar when accessing FunctionProtoType (#88428)

This fixes a bug introduced by #84473: if a lambda’s type is type sugar
(e.g. an `AttributedType`), we need to use `getAs()` instead of `cast()`
to retrieve the `FunctionProtoType`.
parent b45c9c31
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment