class Test var _t as Type is shared def main is shared t as Type = Object # t is a Type assert t inherits Type # .warning. always o as Object = t() assert o.getHashCode t = String s as String = t(c'x', 3) to String assert s=='xxx' _t = t s = _t(c'y', 3) to String assert s=='yyy' def foo t as Type = Object # used to get false warning that the value of t was never used t()