pyright incorrectly flags complex numbers (1j) as errors

Created on 8 Jan 2020  路  2Comments  路  Source: microsoft/pyright

Pyright is a wonderful tool but in version 1.1.18 it incorrectly flags statements like:

a = 1 + 1j

as syntax errors. The exact error seems to vary but a common example is:

"Statements must be separated by newlines or semicolons"

addressed in next version bug

All 2 comments

Thanks for the bug report. This will be fixed in the next version.

This support is now included in 1.1.19, which I just published.

Was this page helpful?
0 / 5 - 0 ratings