Skip to content

Include void arguments in StgConApp and StgRhsCon

It seems (see !10165 (closed)) that

  • In StgApp and StgOpApp we include void (zero-width) arguments
  • In StgConApp and StgRhsCon 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.)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information