Danny Yang

Results 182 comments of Danny Yang

> if pyrefly wouldn't "expand" the type-aliases, and just print their names. This sounds like a good idea, we can expand them if the type we're printing is just that...

The type alias printing improvements are included in v0.36.0 from today. When you get a chance to try it, please let me know how it is and what else we...

Hum, maybe the type alias gets expanded before we get to that point. Will investigate further, sorry about that!

Just to follow up here w/ an update, I've looked into it and have a potential fix, but it's very invasive and has the potential to break a lot of...

> because I can imagine that for type Spam = it could be faster to compare the Spam names themselves Yeah, this is something I've been thinking about as well....

I have a potential solution that is less invasive and does not affect type checking behavior, with some tradeoffs: - it will only work if the type alias is of...

The latest release should have the union type alias display changes - let me know if that makes things a bit more readable for you!

Re: overloads on separate lines, https://github.com/facebook/pyrefly/pull/1447 attempts to do this, tho I see @rchen152 had some concerns w/ that change. There's also something else I was thinking about, which is...

Hi, > Pylance Doesn't work when Pyrefly is installed This is expected, Pylance turns itself off when Pyrefly is installed. > Disabling pylance and keeping pyrefly still did not give...

Maybe the format could be like: `7 modules (XXX lines), 492 transitive dependencies (180,400 lines)`