You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very small problem. When I was looking at the source files in the fluent.syntax package, I found that in the get_error_message function in errors.py, the other error codes were all in the same format as E0003 with only four digits. Only E00001 was five digits. Since I am trying to develop a Fluent parser for the JVM in Kotlin, I need to know if this is intentional. This paragraph is originally in Chinese. I used Google Translate, so there may be some inaccuracies. The original Chinese text is below.
That looks like a typo originally made here for fluent.js, and then ported to this implementation.
Given that there is no code path that that produces a Generic Error, a PR fixing the code for it would be welcome both here and in projectfluent/fluent.js.
This is a very small problem. When I was looking at the source files in the fluent.syntax package, I found that in the get_error_message function in errors.py, the other error codes were all in the same format as E0003 with only four digits. Only E00001 was five digits. Since I am trying to develop a Fluent parser for the JVM in Kotlin, I need to know if this is intentional. This paragraph is originally in Chinese. I used Google Translate, so there may be some inaccuracies. The original Chinese text is below.
这是一个很小的问题。我在查看fluent.syntax包下源文件时发现errors.py中的get_error_message函数中,其它错误代码都是类似于E0003只有四位数字这样格式的错误代码。唯独只有E00001是五位数字。由于我在试着用Kotlin开发适用于JVM的Fluent解析器,我需要了解这是不是有意而为之。这段话原话是中文,我使用了谷歌翻译,有可能有不正确的地方。
python-fluent/fluent.syntax/fluent/syntax/errors.py
Lines 12 to 15 in bc5b0e5
The text was updated successfully, but these errors were encountered: