Skip to content

autodoc: quoted identifiers cannot be viewed #24210

Open
@gooncreeper

Description

@gooncreeper

Zig Version

0.14.1

Steps to Reproduce and Observed Behavior

Create a file with the following contents:

pub const @"A" = struct {};

Then, run zig test -femit-docs on it.
Go into the created docs directory, and run a web server (e.g. python -m http.server) to view the generated docs.
When going into @"A", you get "Declaration not found."

Expected Behavior

I expect it to show the contents of @"A"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions