Fix #4346 (INLINABLE pragma not behaving consistently)