diff --git a/conformance/results/mypy/aliases_newtype.toml b/conformance/results/mypy/aliases_newtype.toml index e1c8c64a..f4c4bc85 100644 --- a/conformance/results/mypy/aliases_newtype.toml +++ b/conformance/results/mypy/aliases_newtype.toml @@ -1,6 +1,6 @@ conformant = "Partial" notes = """ -`NewType`s are considered classes, not functions. +`NewType`s are incorrectly considered to be classes. """ output = """ aliases_newtype.py:11: error: Argument 1 to "UserId" has incompatible type "str"; expected "int" [arg-type] diff --git a/conformance/results/results.html b/conformance/results/results.html index 151069d7..6cbe8f00 100644 --- a/conformance/results/results.html +++ b/conformance/results/results.html @@ -468,7 +468,7 @@
`NewType`s are considered classes, not functions.
`NewType`s are incorrectly considered to be classes.
Does not reject use of NewType in `isinstance` call.
Does not reject use of NewType in class definition statement.
Does not report inconsistency between name of NewType and assigned identifier name.
Does not reject use of NewType with generic class with TypeVar.
Does not reject use of NewType with protocol class.
Does not reject use of NewType with TypedDict class.
Does not reject use of NewType with Any.