Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw InvalidChar(_current_char, exceptionDetailInfo()); 异常信息不准确 #50

Open
qiechenxian opened this issue Mar 12, 2024 · 1 comment

Comments

@qiechenxian
Copy link

qiechenxian commented Mar 12, 2024

if (p != ch) {
throw InvalidChar(_current_char, exceptionDetailInfo());
}

函数 exceptionDetailInfo() 会先被调用并更新 _current_char 使异常信息不准确。

@MistEO
Copy link
Owner

MistEO commented Mar 12, 2024

@ChingCdesu 瞅瞅(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants