class A pass class B pass class Test def main is shared a = A() # to-do: see AbstractToExpr b = a to B # .er ror. The given expression, of type "A", can never be cast to a "B" x = ['aoeu'] c = x to List() # .error. unexpected call print c