Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Issue 6443109: code review 6443109: cmd/gc: string conversion for surrogates (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by r
Modified:
13 years, 9 months ago
Reviewers:
CC:
golang-dev, nigeltao, rsc
Visibility:
Public.

Description

cmd/gc: string conversion for surrogates This is required by the spec to produce the replacement char. The fix lies in lib9's rune code.

Patch Set 1 #

Patch Set 2 : diff -r 307fafbc2d6f https://code.google.com/p/go #

Patch Set 3 : diff -r 307fafbc2d6f https://code.google.com/p/go #

Patch Set 4 : diff -r 735963d94dad https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -8 lines) Patch
M src/lib9/utf/rune.c View 1 6 chunks +13 lines, -5 lines 0 comments Download
M src/pkg/unicode/utf8/utf8_test.go View 2 chunks +4 lines, -2 lines 0 comments Download
M test/string_lit.go View 1 2 2 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 7
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
13 years, 10 months ago (2012-08-09 23:20:14 UTC) #1
nigeltao
LGTM.
13 years, 10 months ago (2012-08-09 23:36:39 UTC) #2
rsc
I am surprised that string(-1) and string(0x110000) are not compile-time errors, but the spec is ...
13 years, 10 months ago (2012-08-10 00:34:49 UTC) #3
r
Oh well indeed. We might lock this down better in a post-Go-1 Go. That said, ...
13 years, 10 months ago (2012-08-10 00:53:25 UTC) #4
r
Hello golang-dev@googlegroups.com, nigeltao@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 10 months ago (2012-08-10 18:10:40 UTC) #5
rsc
LGTM
13 years, 9 months ago (2012-08-30 17:34:33 UTC) #6
r
13 years, 9 months ago (2012-08-30 18:16:58 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=38b71d522589 ***

cmd/gc: string conversion for surrogates
This is required by the spec to produce the replacement char.
The fix lies in lib9's rune code.

R=golang-dev, nigeltao, rsc
CC=golang-dev
http://codereview.appspot.com/6443109
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b