Does IK constraint work with scaled bones?

Does anybody know if it is possible to use the IK constraint with scaled bones?

I’m talking about a simple two-bone chain where one or two of the bones’ scale is animated. It seems as though the IK solver cannot handle this. I’m a bit surprised by this, but I can’t seem to find any work around.

Anybody have any experience with this?

Thanks!