Implement correct capture check for lazy vals #21601
Labels
area:experimental:cc
Capture checking related
cc-experiment
Intended to be merged with cc-experiment branch on origin
itype:bug
Compiler version
Minimized example
Output
Compiling this with -
Xprint:cc
gives:Expectation
f
should also captured
, but this is not recorded.Generally, we have spent no thought so far how to capture check lazy vals, and it looks interesting. Maybe someone wants to pick that up?
The text was updated successfully, but these errors were encountered: