(module test_22b3_default_e2e
  (class D
    (param a)
    (method dval
      (type (fn-type (params (own a)) (ret (own (con Int)))))
      (default (lam (params (typed x a)) (ret (con Int)) (body 99)))))
  (instance
    (class D)
    (type (con Int)))
  (fn main
    (type (fn-type (params) (ret (own (con Unit))) (effects IO)))
    (params)
    (body (app print (app dval 0)))))
