Nicholas Ng

Results 11 issues of Nicholas Ng

After Mat and Ashley's keynote talk at GolangUK 2017, I think there are appetite for some new British themed artwork! Here are some suggestions: - Umbrella - Tea - Top...

Similar to the migration of Go modules, the new go/packages supports non-mod and mod's way of loading packages as a coherence set of packages. We should retire our use of...

With the arrival of go1.16 modules is on by default We're not mod ready and should migrate

Fixes an edge case when a constant is a typed pointer but not initialised. Addresses #28

Panics should not be used for handling undefined channel variables. The following should be tried before panicking: - Use pointer analysis to find possible source of channel - Dummy out...

enhancement
help wanted

In a Φ-node where the initial value is a typed constant, e.g. `nil:[]int`, Φ register will be stored as a "Panic:..." string (because we get the name of the initial...

bug

Recent update to golang/tools changes behaviour of `CreateTestMainPackage` (see golang/tools@8e53eb9) which now accepts only one `ssa.Package` instead of a slice. Call should be changed to use a for range loop...

enhancement

[Inferer](https://github.com/nickng/gospal/blob/master/migoinfer/inferer.go#L18) cannot be used concurrently. It may lead to runtime crash concurrent map read/write for constant storage and others. Potential source: `callctx.Toplevel()` uses a shared storage.

`_unexported_` channels sometimes appear in inferred types by `migoinfer`. This should not happen.

needs investigation