Skip to content

코드 블럭에 잘못된 주석이 있습니다! #236

Open
@JaeHye0k

Description

@JaeHye0k
  • 내용:
    구조적 타입 시스템, 마지막 코드 블럭은 에러가 발생하지 않는 코드인데 주석으로 에러 표시가 되어 있습니다.
    // @errors: 2345
    interface Point {
      x: number;
      y: number;
    }
    
    ...
    
    const newVPoint = new VirtualPoint(13, 56);
    printPoint(newVPoint); // prints "13, 56"
  • 직접 PR 하시겠습니까? (O/X): O

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