-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accessor declared type was not visited
- Loading branch information
1 parent
9399b32
commit 4f63418
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
tests/baselines/reference/accessorDeclarationEmitVisibilityErrors.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
accessorDeclarationEmitVisibilityErrors.ts(2,18): error TS2304: Cannot find name 'DoesNotExist'. | ||
accessorDeclarationEmitVisibilityErrors.ts(2,18): error TS4106: Parameter 'arg' of accessor has or is using private name 'DoesNotExist'. | ||
|
||
|
||
==== accessorDeclarationEmitVisibilityErrors.ts (1 errors) ==== | ||
==== accessorDeclarationEmitVisibilityErrors.ts (2 errors) ==== | ||
export class Q { | ||
set bet(arg: DoesNotExist) {} | ||
~~~~~~~~~~~~ | ||
!!! error TS2304: Cannot find name 'DoesNotExist'. | ||
~~~~~~~~~~~~ | ||
!!! error TS4106: Parameter 'arg' of accessor has or is using private name 'DoesNotExist'. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters