Skip to content

Unclear expected behaviour for NOINLINE on default class methods.

The user guide specifies expected behaviour for INLINE[ABLE] pragmas but not NOINLINE.

Looking at the code it seems we just ignore NOINLINE pragmas on default methods which is pretty useless behaviour.

We should either:

  • Warn about them and continue to ignore them.
  • Transfer them to instance methods the same way we do for INLINE pragmas.

I think the second option makes more sense and should be reasonably easy done.

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