Skip to content

Commit 26cf813

Browse files
committed
gopium v1.8.0 prep
1 parent 08781ba commit 26cf813

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

extensions/vscode/README.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Extension is based on and heavily using [vscode-go](https://github.com/microsoft
8888

8989
Nevertheless it's impossible to just seamlessly reuse another extension to build your own, so a lot of functionality has been patched and changed, most noticeable: vscode-go telemetry is disabled, vscode-go extension entrypoits are removed, [go-outline](https://github.com/ramya-rao-a/go-outline) is replaced with [go-outline](https://github.com/1pkg/goutline), etc.
9090

91+
To publish the extension use [guide](https://code.visualstudio.com/api/working-with-extensions/publishing-extension).
92+
9193
## Licence
9294

9395
Gopium is licensed under the MIT License.

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"name": "Kostiantyn Masliuk - github.com/1pkg"
88
},
99
"license": "MIT",
10-
"version": "1.7.0",
10+
"version": "1.8.0",
1111
"categories": [
1212
"Programming Languages",
1313
"Formatters",

extensions/vscode/src/vscode-go

gopium/opium.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package gopium
33
// list of global registered gopium constants
44
const (
55
NAME = "gopium"
6-
VERSION = "1.7.0"
6+
VERSION = "1.8.0"
77
PKG = "https://github.com/1pkg/gopium"
88
STAMP = "🌺 gopium @1pkg"
99
)

typepkg/parser_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ func TestParserXToolPackagesAstTypes(t *testing.T) {
5252
ctx: context.Background(),
5353
err: tests.OnOS(
5454
"windows",
55-
fmt.Errorf("%s", "couldn't run 'go': chdir test: The system cannot find the file specified."),
55+
fmt.Errorf("%s", "err: chdir test: The system cannot find the file specified.: stderr: "),
5656
fmt.Errorf("%s", "err: chdir test: no such file or directory: stderr: "),
5757
).(error),
5858
},
59-
"invalid pattern with abs path should return parser error": {
59+
"invalid pattern with abs path should return expected parser package": {
6060
p: ParserXToolPackagesAst{
6161
Pattern: "github.com/1pkg/gopium/gopium",
6262
Path: pdir,

typepkg/sizes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (t stubtype) String() string {
2020
// stdsizes implements sizes interface using types std sizes
2121
type stdsizes struct {
2222
types.Sizes `gopium:"filter_pads,memory_pack,cache_rounding_cpu_l1_discrete,struct_annotate_comment,add_tag_group_force"`
23-
} // struct size: 8 bytes; struct align: 8 bytes; struct aligned size: 8 bytes; struct ptr scan size: 8 bytes; - 🌺 gopium @1pkg
23+
} // struct size: 16 bytes; struct align: 8 bytes; struct aligned size: 16 bytes; struct ptr scan size: 16 bytes; - 🌺 gopium @1pkg
2424

2525
func (s stdsizes) WordSize() int64 {
2626
// This should work for both gc and gccgo types as default case returning proper WordSize.

0 commit comments

Comments
 (0)