Cpool entry 1 is wrong type

RESOLVED FIXED

Status

Tamarin
Self-hosting compiler (ESC)
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Lars T Hansen, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Testcase (put in a file and load in main.sh, Tamarin fails with error msg in Summary):

new TestCase( SECTION,
	      "-\"\\u20001234\\u2001\"",
	      -1234,
	      -"\u20001234\u2001" );
(Reporter)

Updated

10 years ago
Status: NEW → ASSIGNED
(Reporter)

Comment 1

10 years ago
Created attachment 313160 [details] [diff] [review]
Patch

The ABC was corrupted because the length of a utf8 string was not computed correctly when that string contained multibyte characters.
Attachment #313160 - Flags: review?(jodyer)

Updated

10 years ago
Attachment #313160 - Flags: review?(jodyer) → review+
(Reporter)

Comment 2

10 years ago
Changeset 493:3a0215f5f516
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.