what does `type substitutor` do in FIR and IR?
# compiler
i
what does
type substitutor
do in FIR and IR?
d
It allows to substitute type parameters in types • Original type:
Map<K, List<R>>
• Substitution:
{K -> String, R -> Set<Int>}
• Substituted type:
Map<String, List<Set<Int>>>