-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented PR suggestions by @hauntsaninja.
- Loading branch information
Showing
17 changed files
with
117 additions
and
89 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
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
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
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
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
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
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
16 changes: 8 additions & 8 deletions
16
conformance/results/pyright/generics_syntax_declarations.toml
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,14 +1,14 @@ | ||
conformant = "Pass" | ||
output = """ | ||
generics_syntax_declarations.py:19:17 - error: "Generic" base class cannot be used with type parameter syntax (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:23:20 - error: Type arguments are not allowed with Protocol class when using type parameter syntax (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:30:11 - error: Cannot access member "is_integer" for type "str*" | ||
generics_syntax_declarations.py:27:20 - error: Type arguments are not allowed with Protocol class when using type parameter syntax (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:34:11 - error: Cannot access member "is_integer" for type "str*" | ||
Member "is_integer" is unknown (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:42:21 - error: TypeVar constraint type cannot be generic | ||
generics_syntax_declarations.py:46:17 - error: Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:58:17 - error: TypeVar must have at least two constrained types (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:46:21 - error: TypeVar constraint type cannot be generic | ||
generics_syntax_declarations.py:50:17 - error: Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:62:17 - error: TypeVar must have at least two constrained types (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:69:17 - error: Expected type expression but received "tuple[type[bytes], type[str]]" (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:73:18 - error: Expected type expression but received "Literal[3]" (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:77:23 - error: "S" is not defined (reportUndefinedVariable) | ||
generics_syntax_declarations.py:66:17 - error: TypeVar must have at least two constrained types (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:73:17 - error: Expected type expression but received "tuple[type[bytes], type[str]]" (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:77:18 - error: Expected type expression but received "Literal[3]" (reportGeneralTypeIssues) | ||
generics_syntax_declarations.py:81:23 - error: "S" is not defined (reportUndefinedVariable) | ||
""" |
Oops, something went wrong.