%Error: t/t_var_ref_bad1.v:13: Ref connection 'bad_sub_ref' requires matching types; ref requires BASICDTYPE 'real' but connection is BASICDTYPE 'bit'.
     (.bad_sub_ref(bad_parent));   
       ^~~~~~~~~~~
%Error: Exiting due to
