rust/crates
bors[bot] 67e768466f Merge #327
327: Beginnings of type inference r=flodiebold a=flodiebold

I was a bit bored, so I thought I'd try to start implementing the type system and see how far I come 😉  This is obviously still extremely WIP, only very basic stuff working, but I thought I'd post this now to get some feedback as to whether this approach makes sense at all.

There's no user-visible effect yet, but the type inference has tests similar to the ones for the parser. My next step will probably be to implement struct types, after which this could probably be used to complete fields.

I realize this may all get thrown away when/if the compiler query system gets usable, but I feel like there are lots of IDE features that could be implemented with somewhat working type inference in the meantime 😄 

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2018-12-24 14:40:11 +00:00
..
gen_lsp_server less verbose debug 2018-12-22 12:38:24 +03:00
ra_analysis Resolve paths to defs (functions currently) during type inference 2018-12-23 17:13:11 +01:00
ra_cli modernize even more 2018-12-06 21:16:37 +03:00
ra_db Merge #310 2018-12-22 14:48:18 +00:00
ra_editor Add make_pub_crate code action to ra_editor 2018-12-24 11:03:59 +09:00
ra_hir Change inference tests to have one per file 2018-12-24 15:36:54 +01:00
ra_lsp_server Merge #302 2018-12-24 13:47:27 +00:00
ra_syntax Resolve paths to defs (functions currently) during type inference 2018-12-23 17:13:11 +01:00
ra_text_edit hide atom edits a bit 2018-12-21 11:52:32 +03:00
ra_vfs fix the test 2018-12-20 12:15:38 +03:00
test_utils Add testing infrastructure for type inference 2018-12-23 13:48:04 +01:00
thread_worker swtich lsp server to vfs 2018-12-20 12:15:38 +03:00
tools ⬆️ 1.31.1 2018-12-20 22:57:38 +03:00