binaryShiftRightType

Returns the type of the expression this >> other If the binary-right-shift operator is not overloaded, this method should look for a default binary-right-shift operator and resolve the type itself. This isi the default implementation of binaryShiftRightType, we don't know anything about the type here and so we just try to search for an overloaded operator.

In implementation of binaryShiftRightType should look something like this:

override fun binaryRightShiftType(other: ShakeType, scope: ShakeScope): ShakeType? {
return super.binaryRightShiftType(other, scope) ?: ... // default operator stuff
}

Return

The return type of the binary-right-shift expression

Since

0.1.0

Parameters

other

The type to binary-right-shift

scope

The scope in which the binary-right-shift is done