<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/cmd/compile/internal/noder/expr.go, branch json-isValidNumber-before</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=json-isValidNumber-before</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=json-isValidNumber-before'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2023-01-20T03:27:26Z</updated>
<entry>
<title>all: fix typos in go file comments</title>
<updated>2023-01-20T03:27:26Z</updated>
<author>
<name>Marcel Meyer</name>
<email>mm.marcelmeyer@gmail.com</email>
</author>
<published>2023-01-19T22:26:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b419db6c15519a29ff3d7d2e56d8f115204f8c5d'/>
<id>urn:sha1:b419db6c15519a29ff3d7d2e56d8f115204f8c5d</id>
<content type='text'>
This is the second round to look for spelling mistakes. This time the
manual sifting of the result list was made easier by filtering out
capitalized and camelcase words.

grep -r --include '*.go' -E '^// .*$' . | aspell list | grep -E -x '[A-Za-z]{1}[a-z]*' | sort | uniq

This PR will be imported into Gerrit with the title and first
comment (this text) used to generate the subject and body of
the Gerrit change.

Change-Id: Ie8a2092aaa7e1f051aa90f03dbaf2b9aaf5664a9
GitHub-Last-Rev: fc2bd6e0c51652f13a7588980f1408af8e6080f5
GitHub-Pull-Request: golang/go#57737
Reviewed-on: https://go-review.googlesource.com/c/go/+/461595
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Robert Griesemer &lt;gri@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: abstract type type+value obtained from types2</title>
<updated>2022-09-27T17:08:05Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2022-09-02T20:50:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b52783c1e9673793da85dc7a9fb433d033da2e10'/>
<id>urn:sha1:b52783c1e9673793da85dc7a9fb433d033da2e10</id>
<content type='text'>
In preparation for encoding it in a more efficient way.

Change-Id: I299dd2befc3d07107a1b7b49225bbb9f2e48a343
Reviewed-on: https://go-review.googlesource.com/c/go/+/432896
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
</content>
</entry>
<entry>
<title>[dev.unified] cmd/compile: make Unified IR always writes concrete type for const exprs</title>
<updated>2022-07-22T16:26:22Z</updated>
<author>
<name>Cuong Manh Le</name>
<email>cuong.manhle.vn@gmail.com</email>
</author>
<published>2022-07-20T13:27:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=131f981df0a7d17361839b55fd4d588e652f16a9'/>
<id>urn:sha1:131f981df0a7d17361839b55fd4d588e652f16a9</id>
<content type='text'>
So we don't have to depend on typecheck pass to fixup the concrete
type for some constant expressions. Previously, the problem won't show up,
until CL 418475 sent, which removes an un-necessary type conversion in
"append(a, b...) to help the optimization kicks in.

For #53888

Change-Id: Idaecd38b7abbaa3ad5b00ff3b1fb0fd8bbeb6726
Reviewed-on: https://go-review.googlesource.com/c/go/+/418514
Run-TryBot: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/compile: change ir.InstExpr.Targs from Node to Ntype</title>
<updated>2022-05-05T18:48:54Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2022-05-03T19:51:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3abe8fe00bdc9ae35b54c36e5e73632346051315'/>
<id>urn:sha1:3abe8fe00bdc9ae35b54c36e5e73632346051315</id>
<content type='text'>
Type arguments are always type expressions, which are semantically
represented by Ntype.

In fact, the slice should probably just be []*types.Type instead, and
that would remove a lot of ir.TypeNode wrapping/unwrapping. But this
lead to issues within the stenciling code, and I can't immediately
make sense why.

Change-Id: Ib944db30e4d21284bc2d8d954b68ecb70b4205a9
Reviewed-on: https://go-review.googlesource.com/c/go/+/403843
Reviewed-by: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: adjust types2 shift check to match go/types (cleanup)</title>
<updated>2022-04-07T17:19:55Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2022-04-02T00:02:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c0bbeb0982403db17bacb1533776fb638cb449ae'/>
<id>urn:sha1:c0bbeb0982403db17bacb1533776fb638cb449ae</id>
<content type='text'>
With this change, the shift checking code matches the corresponding
go/types code, but for the differences in the internal error reporting,
and call of check.overflow.

The change leads to the recording of an untyped int value if the RHS
of a non-constant shift is an untyped integer value. Adjust the type
in the compiler's irgen accordingly. Add test/shift3.go to verify
behavior.

Change-Id: I20386fcb1d5c48becffdc2203081fb70c08b282d
Reviewed-on: https://go-review.googlesource.com/c/go/+/398236
Trust: Robert Griesemer &lt;gri@golang.org&gt;
Run-TryBot: Robert Griesemer &lt;gri@golang.org&gt;
Trust: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: remove typecheckdef and Name.Walkdef</title>
<updated>2022-03-17T00:12:40Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2022-03-16T05:44:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1cfe1007cdf17ee381443cd0d8ae31962805f96e'/>
<id>urn:sha1:1cfe1007cdf17ee381443cd0d8ae31962805f96e</id>
<content type='text'>
The only remaining use for typecheckdef after CL 393256 is to
typecheck the ONAME node that represents function names, so we might
as well just move that code into tcFunc instead.

Updates #51691.

Change-Id: Icbca51d4b0fb33c90faa95f16254c7171b171d8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/393367
Trust: Matthew Dempsky &lt;mdempsky@google.com&gt;
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: delay all call transforms if in a generic function</title>
<updated>2022-02-24T17:35:40Z</updated>
<author>
<name>Dan Scales</name>
<email>danscales@google.com</email>
</author>
<published>2021-11-01T02:45:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4edefe95689c31846a73e36b3e0723c924def45d'/>
<id>urn:sha1:4edefe95689c31846a73e36b3e0723c924def45d</id>
<content type='text'>
We changed to delaying all transforms of generic functions, since there
are so many complicated situations where type params can be used. We
missed changing so that all Call expressions(not just some) are delayed
if in a generic function. This changes to delaying all transforms on
calls in generic functions. Had to convert Call() to g.callExpr() (so we
can access g.delayTransform()). By always delaying transforms on calls
in generic functions, we actually simplify the code a bit both in
g.CallExpr() and stencil.go.

Fixes #51236

Change-Id: I0342c7995254082c4baf709b0b92a06ec14425e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/386220
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Trust: Dan Scales &lt;danscales@google.com&gt;
Run-TryBot: Dan Scales &lt;danscales@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>go/types, types2: rename structuralType/String to coreType/String</title>
<updated>2022-02-09T22:58:35Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2022-02-09T22:16:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2bf5ae0c28a28244c3e20ef65b75e9e90adb5251'/>
<id>urn:sha1:2bf5ae0c28a28244c3e20ef65b75e9e90adb5251</id>
<content type='text'>
This is a pure rename of the respective Go functions/methods
with corresponding adjustments to error messages and tests.
A couple of comments were manually rephrased.

With this change, the implementation and error messages match
the latest spec.

No functionality change.

Change-Id: Iaa92a08b64756356fb2c5abdaca5c943c9105c96
Reviewed-on: https://go-review.googlesource.com/c/go/+/384618
Trust: Robert Griesemer &lt;gri@golang.org&gt;
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
</content>
</entry>
<entry>
<title>go/types, cmd/compile: fix composite literal structural typing</title>
<updated>2022-01-27T19:55:38Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2022-01-26T21:46:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1a2435c95f8c68c7d21d172c8a80c6cc96aa9cf5'/>
<id>urn:sha1:1a2435c95f8c68c7d21d172c8a80c6cc96aa9cf5</id>
<content type='text'>
For a composite literal expression like []T{{f: 1}}, we allow T to be
a pointer to struct type, so it's consistent to allow T to also be a
type parameter whose structural type is a pointer to struct type.

Fixes #50833.

Change-Id: Ib0781ec4a4f327c875ea25b97740ff2c0c86b916
Reviewed-on: https://go-review.googlesource.com/c/go/+/381075
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Robert Griesemer &lt;gri@golang.org&gt;
Trust: Matthew Dempsky &lt;mdempsky@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/compile/internal/types2: move some functions into different files (cleanup)</title>
<updated>2021-11-10T18:24:14Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2021-11-10T16:33:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6406e09f69c70b10cab58702f10456a3e9a83bef'/>
<id>urn:sha1:6406e09f69c70b10cab58702f10456a3e9a83bef</id>
<content type='text'>
- move structuralType/structuralString into type.go
- move functions exported for the compiler into compilersupport.go
- updated/added comments
- removed AsNamed and AsInterface - not needed by compiler

No semantic changes.

Change-Id: Ia454a49edafd627c2a25b0b71db4aa93ddd7f1f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/362995
Trust: Robert Griesemer &lt;gri@golang.org&gt;
Run-TryBot: Robert Griesemer &lt;gri@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
</content>
</entry>
</feed>
