Include void arguments in StgConApp and StgRhsCon
It seems (see !10165 (closed)) that
- In
StgApp
andStgOpApp
we include void (zero-width) arguments - In
StgConApp
andStgRhsCon
we discard void arguments
This undocumented and unexplained inconsistency is at best an extra headache, and a source of potential bugs.
So this ticket is to say: let's consider making it uniform, and including void arguments in StgConApp
and StgRhsCon
. (We need them in StgApp
etc because we need to know if the call is saturated.)