InvalidReal occurs when the real built-in function is called with an argument that does not have complex type. Example: var _ = real(int(1))