import sys
import kclvm.kcl.error as kcl_error
import os

cwd = os.path.dirname(os.path.realpath(__file__))
file = os.path.join(cwd, 'main.k')

kcl_error.print_kcl_error_message(
    kcl_error.get_exception(err_type=kcl_error.ErrType.IllegalArgumentError_Syntax_TYPE,
                            file_msgs=[
                                kcl_error.ErrFileMsg(
                                    filename=str(os.path.join(cwd, "main.k")),
                                    line_no=1,
                                    col_no=51,
                                    end_col_no=57
                                )
                            ],
                            arg_msg="positional argument follows keyword argument"),
    file=sys.stdout
)
