(module test_22b2_instance_present
  (class TShow
    (param a)
    (method tshow
      (type (fn-type (params (own a)) (ret (own (con Str)))))))
  (instance
    (class TShow)
    (type (con Int))
    (method tshow
      (body (lam (params (typed x a)) (ret (con Str)) (body "n")))))
  (fn main
    (type (fn-type (params) (ret (own (con Str)))))
    (params)
    (body (app tshow 42))))
