Open matil019 opened 1 year ago
looks like my own lens macro suffers the same issue, and it's a bit annoying to switch off warnings where ever i construct a lens. is there a workaround i can try maybe?
any news on this? the problem still seems to persist in 3.4.0-RC1
It has to do with the tree representation Inlined
; it must learn to ignore the bindings that are warning.
Compiler version
3.3.0
Minimized code
Output
Expectation
No warnings are issued.
Other
This affects Monocle's macros such as
GenLens
.I'm not certain whether or not my example can be minimized further. Interestingly, calling a transparent inline function directly doesn't trigger any warnings.