binaryShiftLeftType

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

In implementation of binaryShiftLeftType should look something like this:

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

Return

The return type of the binary-left-shift expression

Since

0.1.0

Parameters

other

The type to binary-left-shift

scope

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