Skip to content

Native printer panics when printing JSDoc AST nodes #65057

Open

Description

@el-j

Bug\nThe TypeScript 7 native printer panics when asked to print a JSDoc AST node directly. The printer dispatches JSDoc kinds to Printer.emitJSDocNode, which currently panics with not implemented.\n\n## Reproduction\nCreate a JSDoc node with the AST factory and call api.printer.printNode(jsdocNode).\n\n## Expected\nThe printer emits a formatted JSDoc comment (including text and tags).\n\n## Actual\nPrinting the node panics in tsc/internal/printer/printer.go.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions