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

getShortPinyin报错 #5

Closed
dreamfly32 opened this issue Oct 29, 2020 · 1 comment
Closed

getShortPinyin报错 #5

dreamfly32 opened this issue Oct 29, 2020 · 1 comment

Comments

@dreamfly32
Copy link

像 "a,b" 这种会报错,中间是英文逗号,我试了中文逗号,句号,英文句号等都可以,唯独英文逗号不行,这么什么问题?

The following RangeError was thrown while handling a gesture:
RangeError (index): Invalid value: Valid value range is empty: 0

When the exception was thrown, this was the stack:
#0 _StringBase.[] (dart:core-patch/string_patch.dart:252:55)
#1 PinyinHelper.getShortPinyin. (package:lpinyin/src/pinyin_helper.dart:51:21)

@Sky24n Sky24n added bug and removed bug labels Oct 29, 2020
@Sky24n
Copy link
Member

Sky24n commented Nov 5, 2020

fix

@Sky24n Sky24n closed this as completed Nov 5, 2020
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