Skip to content

Add support for multiple segments in namespace and package #98

Closed

Description

@peter-facko

I tried using this extension (version 0.3.18), and with lines like

package com:organization:category/topic/package;

I am getting an error

expected '{', found ':'wit-syntax(wit-parse-error)

Activity

  1. tschneidereit commented on Dec 8, 2025

    @tschneidereit
    Member

    That syntax isn't currently valid for WIT itself, though there's a PR open for changing that.

    I'll close this, since the extension is working as expected for the time being. I'd recommend subscribing to the PR for the WIT change if you're interested in tracking progress on this.

  2. peter-facko commented on Dec 8, 2025

    @peter-facko
    Author
  3. tschneidereit commented on Dec 9, 2025

    @tschneidereit
    Member

    Ah yeah, that is a bit confusing I agree: the Component Model proposal uses the 🪺 emoji to indicate future features that aren't yet stable, so the fact that the "nested namespaces and packages" paragraph starts with that emoji means it's not yet usable. The package-decl production should probably contain a current version without nesting and an emoji-gated one with nesting, so that seems like a bug in the spec.

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