https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82980
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:53e7252140c95afc859ade521a61ab4115d7fb11 commit r13-53-g53e7252140c95afc859ade521a61ab4115d7fb11 Author: Jason Merrill <ja...@redhat.com> Date: Thu Apr 14 14:09:13 2022 -0400 c++: lambda capture dependent type [PR82980] The stage 4 patch limited direct propagation of dependent type to capture field/proxy to the "current instantiation", but many more types should be suitable as well. PR c++/82980 gcc/cp/ChangeLog: * lambda.cc (type_deducible_expression_p): Allow more types.