Skip to content
#

typechecker

Here are 69 public repositories matching this topic...

jmlee2k
jmlee2k commented Sep 7, 2021

Bug Report

🔎 Search Terms

comments, preserve, emit, array

🕗 Version & Regression Information

I noticed it in 4.4.2, but it seems to have happened in some form since 3.3.2 (oldest available on the playground).
The behavior appeared to change slightly after 4.2.3. (See playground link for details).

  • This is the behavior in every version I tried, and I reviewed the FAQ for
vuryleo
vuryleo commented Nov 8, 2019

e.g.

# map.py
def func(a: int) -> float:
    return float(a)

map(func, ['str'])
$ pytype map.py
Computing dependencies
Analyzing 1 sources with 0 local dependencies
ninja: Entering directory `/[redacted]/.pytype'
ninja: no work to do.
Success: no errors found

while

$ mypy map.py
map.py:5: error: Argument 1 to "map" has incompatible type "Ca

Improve this page

Add a description, image, and links to the typechecker topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typechecker topic, visit your repo's landing page and select "manage topics."

Learn more