polarify icon indicating copy to clipboard operation
polarify copied to clipboard

Errors with a type checker

Open kiyoon opened this issue 11 months ago • 0 comments
trafficstars

If you ever use a type checker, such as basedpyright, the polarify function will make lots of errors.

image

It's because pl.Expr type is not directly comparable. Removing the type will remove errors (as long as your project allows untyped functions.)

image

I wonder if there's any fix for this? Maybe when it's not typed, the output function is assumed to be pl.Expr?

kiyoon avatar Dec 02 '24 09:12 kiyoon