Skip to content

Allow trailing commas in import globs #2582

Closed

Description

@erickt

Pretty much every other construct allows trailing commas, so glob imports like this should work too:

import elasticsearch::{
    client,
    create_index_builder,
    index_builder,
    json_dict_builder,
};

Activity

  1. ghost assigned on Jun 13, 2012
  2. lkuper commented on Jun 13, 2012

    @lkuper
    Contributor

    I'll take this one. Incidentally, 2075622 should make it slightly easier to tell where trailing separators are currently allowed/disallowed.

  3. added a commit that references this issue on Jun 14, 2012
    cce7327
  4. added a commit that references this issue on Feb 23, 2019
  5. added a commit that references this issue on Oct 4, 2022
  6. added a commit that references this issue on Jan 6, 2023
  7. added a commit that references this issue on Sep 8, 2025
  8. added a commit that references this issue on Dec 10, 2025
  9. added a commit that references this issue on Aug 21, 2026
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