feat: fix inline variable produce mismatched type wrap reference for RefExpr initializer to fix #12453