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
Ok, I worked with @yawaramin (huge thank you to them) on the ReasonML forums to narrow this down. I was clearly misreading the String module, so that's fixed; I'll attempt to figure out what the source of Parsing issues I've seen are. Namely, I've had issues strings with escapes, esp \".
I ran into this in a different context, wherein Escaped strings cause the compiler to complain about missing braces, but I ran into a similar edge case today:
Reason # let src1 = "\"test\""foo\"";
let src1: string = "\"test\"";
Reason # String.length(src1);
- : int = 6
The text was updated successfully, but these errors were encountered:
Overview
Ok, I worked with @yawaramin (huge thank you to them) on the ReasonML forums to narrow this down. I was clearly misreading the
String
module, so that's fixed; I'll attempt to figure out what the source of Parsing issues I've seen are. Namely, I've had issues strings with escapes, esp\"
.I ran into this in a different context, wherein Escaped strings cause the compiler to complain about missing braces, but I ran into a similar edge case today:
The text was updated successfully, but these errors were encountered: