Skip to content

cmd/compile: cannot highlight AST lines in ssa.html #48133

Closed

Description

@Zheng-Xu

What version of Go are you using (go version)?

$ go version
go version devel go1.18-7622e41c84 Mon Aug 30 22:09:22 2021 +0000 linux/arm64

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

  1. GOSSAFUNC=main.test go build test.go
  2. Open ssa.html in browser.
  3. Click any lines in any sections other than AST section.
  4. Click any lines in AST section.

What did you expect to see?

Corresponding lines in AST section should be highlight from step 3.
Lines in different sections(including AST) should be highlighted from step 4.

What did you see instead?

No line highlight in AST section from step 3.
No line highlight in any sections from step 4.

This issue was introduced by CL 275785

Activity

  1. gopherbot commented on Sep 2, 2021

    @gopherbot
    Contributor

    Change https://golang.org/cl/347269 mentions this issue: cmd/compile/internal/ir: better AST line highlight in ssa.html

  2. changed the title [-]Cannot highlight AST lines in ssa.html[/-] [+]cmd/compile: cannot highlight AST lines in ssa.html[/+] on Sep 2, 2021
  3. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    on Sep 2, 2021
  4. added this to the Backlog milestone on Sep 2, 2021
  5. cherrymui commented on Sep 2, 2021

    @cherrymui
    Member
  6. erifan commented on Sep 3, 2021

    @erifan

    This is a regression since Go1.17, should we backport it to Go1.17 ?

  7. cherrymui commented on Sep 3, 2021

    @cherrymui
    Member

    No. We only backport serious issues without workarounds. This is clearly not serious. And ssa.html is mostly for compiler developers, not for general users.

  8. erifan commented on Sep 3, 2021

    @erifan

    No. We only backport serious issues without workarounds. This is clearly not serious. And ssa.html is mostly for compiler developers, not for general users.

    Ok.

  9. locked and limited conversation to collaborators on Sep 10, 2022
  10. added a commit that references this issue on Apr 29, 2024
    96ab854
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions