a55989a2a5
The issue was, that built IR function does not have a PSI element, which is required to report error on suspend functions inside monitors. In this case, use PSI element of the class, containing the function, which is consistent with old BE.