-
Notifications
You must be signed in to change notification settings - Fork 34
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
Recent <ref> changes do not work for long reference names #153
Comments
Claude says:
I'll try this tomorrow. |
Claude was just hallucinating :(. When I tried to upload the My best guess as to what happened here is that there are multiple overloads of |
Yeah. And I opened #155 with patch that attempts to ensure we won’t run into this again (or will catch it when we do). For the record here, what we got bit with is that the Lines 122 to 126 in 4cabebb
The intent of allowing strings to be passed in directly seems to have been just for the case of passing in very short string constants, when the string length is explicitly known not to exceed But in general as far as I can see, the documented behavior of the language and runtime is that any time you try to use a particular string type with a string whose length exceeds the specified size of that particular string type, the runtime silently truncates the string down to the type’s specified size. So I guess we really shouldn’t be using |
This change reverts 0ad4342 and increases to 255 the length of strings that can be passed directly to Rope≫Append() without getting truncated. Otherwise, without this change, any string passed directly to Rope≫Append() whose length exceeds a particular system-dependent limit (which in practice seems to be 15) will get silently truncated. Relates to #153.
This change adds a Contributing section to the README.md, and cites it from the error message we emit when a string is passed to Rope≫Append() that’s larger than the allowed string size. Relates to #153.
This change adds a Contributing section to the README.md, and cites it from the error message we emit when a string is passed to Rope≫Append() that’s larger than the allowed string size. Relates to #153.
E.g. in the live https://html.spec.whatwg.org/ now, we have
[JSIMPORTATTRIBU]
and[CSSVIEWTRANSITI]
.No idea why this would be happening... 4cabebb#diff-c1f20712f6803c4501d76807b80642566e51f13847a8c9dcc91d48b366919ece looks pretty reasonable. Maybe something weird about Pascal string semantics...
The text was updated successfully, but these errors were encountered: