I’m not sure, if this is a bug but the method description is at least confusing. It says:
“Adds a particle system to the fluid renderer.
Note that you should not normally call this method directly, as you can simply use the renderAsFluid property of the ParticleSystem/GPUParticleSystem class”
But the “renderAsFluid” property cannot be found on ParticleSystem/GPUParticleSystem, nor IParticleSystem.
Now I don’t know, how to use this method or property properly.