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
A range error may occur if a string shorter than the search symbol exists.
Expected Behavior
Just empty list should be returned.
Error Log
Unhandled exception:
RangeError (index): Index out of range: index should be less than 8: 8
#0 Uint8List.[] (dart:typed_data-patch/typed_data_patch.dart:2271:7)#1 _BlueskyText._getEntities (package:bluesky_text/src/bluesky_text.dart:371:21)#2 _BlueskyText.links (package:bluesky_text/src/bluesky_text.dart:210:11)#3 _BlueskyText.entities (package:bluesky_text/src/bluesky_text.dart:227:14)#4 main (file:///Users/katoshinya/atproto.dart/packages/bluesky_text/example/example.dart:12:14)#5 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:296:19)#6 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)
Step to Reproduce
import'package:bluesky_text/bluesky_text.dart';
voidmain() {
final text =BlueskyText('same tbh');
print(text.entities);
}
The text was updated successfully, but these errors were encountered:
Packages/Tools
Bug Behavior
A range error may occur if a string shorter than the search symbol exists.
Expected Behavior
Just empty list should be returned.
Error Log
Step to Reproduce
The text was updated successfully, but these errors were encountered: