Stream: t-compiler/wg-rls-2.0

Topic: hir_ty


matklad (Nov 22 2019 at 14:21, on Zulip):

@Florian Diebold, @nikomatsakis I think we are ready (well, almost) to create hir_ty crate inside rust-analyzer, which deals with all type-related things.

I think it is a good idea to mechanically extract this crate, before drawing any well-designed and library-ified interface for types. Should I pick this task? Or is @Florian Diebold willing to do some boring code motion and refactoring?

Florian Diebold (Nov 22 2019 at 14:22, on Zulip):

I could do it, though I think you've got more practice currently ;)

matklad (Nov 22 2019 at 14:27, on Zulip):

That is true! The other high-priority type-related task is that unfortunate OOM

matklad (Nov 22 2019 at 14:37, on Zulip):

That's true

To be less ambiguous: I'll move all types to hir_ty. BTW, I've heard that Kotlin folks are doing large refactoring as well: https://github.com/JetBrains/kotlin/tree/master/compiler/fir, they are introducing fir. I don't know what f stands for. f for front-end?

Last update: Dec 12 2019 at 01:50UTC