What is the "underlying type" in Scala? -
recently have stumbled upon scalac error message complaining 2 types not being same though "underlying type" same. regardless of error , specifics, i'm curious "underlying type". ?
for singleton type x.type
it's type of x
. example, if have val x: int
underlying type of x.type
int
.
Comments
Post a Comment