Skip to content

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

@Zheng-Xu

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

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