SIRHashCodeInRec

scalus.compiler.sir.SIRHashCodeInRec
See theSIRHashCodeInRec companion object
trait SIRHashCodeInRec[T]

Unused. Its CaseClass, SumCaseClass and TypeLambda instances return 0 for every type: the trace map holds Int values, so a missing key unboxes to 0 and the cache test always passes.

Attributes

Companion
object
Deprecated
[Since version 1.4.1] unused and incorrect (hashes are always 0); it will be removed
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def apply(t: T, trace: IdentityHashMap[SIRType, Int]): Int
def applyEq(a: T, b: T, trace: IdentityHashMap[SIRType, List[SIRType]]): Boolean

Concrete methods

def newRec(t: T): Int
def newRecEq(a: T, b: T): Boolean