Skip to content

Commit 3a1eed4

Browse files
cknittclaude
andcommitted
Merge char-int-alias: type the runtime code point lookup as int
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JALXUyHhkDqzcB3WuW9Svo Signed-off-by: Christoph Knittel <ck@cca.io>
2 parents 1bd580c + 351960a commit 3a1eed4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/@rescript/runtime/Primitive_string_extern.res‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
external length: string => int = "%string_length"
88

9-
@send external getChar: (string, int) => option<char> = "codePointAt"
9+
@send external getChar: (string, int) => option<int> = "codePointAt"

0 commit comments

Comments
 (0)