Fix error reporting links

This commit is contained in:
Shunsuke Shibayama 2022-08-19 12:44:37 +09:00
parent 580ccddfe5
commit 190c9ba59f
3 changed files with 20 additions and 20 deletions

View file

@ -26,10 +26,10 @@ impl LexError {
CompilerSystemError,
loc,
switch_lang!(
"japanese" => format!("これはErg compilerのバグです、開発者に報告して下さい (https://github.com/mtshiba/erg)\n{fn_name}:{line}より発生"),
"simplified_chinese" => format!("这是Erg编译器的一个错误请报告给https://github.com/mtshiba/erg\n原因来自:{fn_name}:{line}"),
"traditional_chinese" => format!("這是Erg編譯器的一個錯誤請報告給https://github.com/mtshiba/erg\n原因來自:{fn_name}:{line}"),
"english" => format!("this is a bug of the Erg compiler, please report it to https://github.com/mtshiba/erg\ncaused from: {fn_name}:{line}"),
"japanese" => format!("これはErg compilerのバグです、開発者に報告して下さい (https://github.com/erg-lang/erg)\n{fn_name}:{line}より発生"),
"simplified_chinese" => format!("这是Erg编译器的一个错误请报告给https://github.com/erg-lang/erg\n原因来自:{fn_name}:{line}"),
"traditional_chinese" => format!("這是Erg編譯器的一個錯誤請報告給https://github.com/erg-lang/erg\n原因來自:{fn_name}:{line}"),
"english" => format!("this is a bug of the Erg compiler, please report it to https://github.com/erg-lang/erg\ncaused from: {fn_name}:{line}"),
),
None,
))