Thanks to visit codestin.com
Credit goes to github.com

Skip to content

<unknown line number>: internal compiler error: assertion failed #8700

@ddkwork

Description

@ddkwork

Describe the bug

A clear and concise description of what the bug is. Include version by typing gh --version.
gh version 2.43.1 (2024-01-31)
https://github.com/cli/cli/releases/tag/v2.43.1

Steps to reproduce the behavior

  1. Type this 'C:\Users\Admin\Desktop\cli-trunk\cmd\gh\main.go'
  2. View the output 'see log'
  3. See error : internal compiler error: assertion failed

Expected vs actual behavior

A clear and concise description of what you expected to happen and what actually happened.

Logs

GOROOT=C:\Users\Admin\go\pkg\mod\golang.org\[email protected] #gosetup
GOPATH=C:\Users\Admin\go #gosetup
C:\Users\Admin\go\pkg\mod\golang.org\[email protected]\bin\go.exe build -o C:\Users\Admin\AppData\Local\JetBrains\GoLand2023.3\tmp\GoLand___go_build_github_com_cli_cli_v2_cmd_gh.exe github.com/cli/cli/v2/cmd/gh #gosetup

github.com/cli/cli/v2/pkg/cmd/repo/garden

CLOSURE [C:\Users\Admin\Desktop\cli-trunk\pkg\cmd\repo\garden\garden.go:241:11:var player *github.com/cli/cli/v2/pkg/cmd/repo/garden.Player ....\pkg\cmd\repo\garden\garden.go:244:10:var dirc chan int ....\pkg\cmd\repo\garden\garden.go:251:18:var garden [][]*github.com/cli/cli/v2/pkg/cmd/repo/garden.Cell ....\pkg\cmd\repo\garden\garden.go:301:40:var oldTermState *golang.org/x/term.State]
: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new

编译完成,并显示退出代码 1

Paste the activity from your command line. Redact if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsp2Affects more than a few users but doesn't prevent core functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions