Skip to content

Improve error on non-ambient class and function merge #32795

Closed
@weswigham

Description

@weswigham

In #32584, we're allowing ambient classes and functions to merge, but non-ambient classes and functions still issue the same Duplicate identifier error. An improved, more specific, error would be useful. Something mentioning that either the function can have an implementation or both need to be ambient.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions