Skip to content

No error when /// reference path references same file #568

Closed

Description

a.ts:

///<reference path='a.ts'/>

Old compiler reported error:
a.ts(1,1): error TS5006: A file cannot have a reference to itself.

New compiler
No error.

I am not sure if this should be just by design, will let triage decide.

Activity

  1. added this to the milestone on Sep 2, 2014
  2. added a commit that references this issue on Oct 1, 2014
  3. chrisbubernak commented on Oct 5, 2014

    @chrisbubernak
    Contributor

    This was fixed in PR #748

  4. added
    Fixed
    on Oct 6, 2014
  5. locked and limited conversation to collaborators on Jun 18, 2018
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

    BugFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions