Skip to content

Allow aliases to support names without field selections #1306

Description

@l46kok

Describe the bug
This constraint was relaxed in Java for usability reasons. We should match the behavior here.

The following should be allowed:

alias: "short", target: "really_long_package_name"

The following should be disallowed:

// Nothing to abbreviate
abbreviations: really_long_package_name

**To Reproduce**
Check which components this affects:

- [ ]  parser
- [ x ]  checker
- [ x ]  interpreter

**Additional context**
b/450617503

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