Widen the abstract value of the argument so that its height is below the specified height.
It can be used to mark method or constructor arguments, as the following example shows:
class A(x: Int): def square(): Int = x*x
class C(val a: A)
object B: val a = build(new C(new A(10)): @widen(2)) // <-- usage
def build(c: C) = new A(c.a.square()) // calling methods on parameterBy default, method and constructor arguments are widened to height 1. In the code above, without using@widen(2) we will have the abstract valueC(a = Cold) for the argumentc of the methodbuild. Consequently, the checker will issue a warning for the method callc.a.square() because it is forbidden to call methods or access fields on cold values.