aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
Commit message (Collapse)AuthorAgeFilesLines
...
* add AstDatabaseAleksey Kladov2019-06-0215-95/+177
|
* collect impl source mapsAleksey Kladov2019-06-012-11/+1
|
* don't cache ast_id_to_nodeAleksey Kladov2019-06-011-0/+1
|
* Merge #1360bors[bot]2019-06-014-8/+31
|\ | | | | | | | | | | | | | | | | | | 1360: Improve goto definition for MBE r=matklad a=edwin0cheng This PR improve the macro resolution for goto definition and expression macro invocation by using proper path resolution for external macros. Co-authored-by: Edwin Cheng <[email protected]>
| * Improve goto definition for MBEEdwin Cheng2019-06-014-8/+31
| |
* | don't poison mutex around chalkAleksey Kladov2019-06-012-3/+5
|/ | | | | | | | | We use panics for cancellation, so we could trigger panic while holding the solver. std::sync::Mutex will be poisoned as a result, which and all further attempts to use solver (from other threads) will panic as well. This commit switches to parking_lot::Mutex which just unlocks on panic.
* add tests for primitive typesAleksey Kladov2019-05-305-30/+44
|
* add built-in types to scopesAleksey Kladov2019-05-306-24/+48
|
* add list of builtin typesAleksey Kladov2019-05-302-3/+29
|
* add ModuleDef::BuiltInTypeAleksey Kladov2019-05-305-10/+61
|
* :arrow_up: parking_lotAleksey Kladov2019-05-301-1/+1
|
* add cacellation checks to expensive queriesAleksey Kladov2019-05-293-0/+3
|
* fix syntax errors in testsAleksey Kladov2019-05-286-118/+134
|
* check cancellation when expanding macrosAleksey Kladov2019-05-271-0/+1
|
* FormattingEdwin Cheng2019-05-271-1/+0
|
* Add Test for new item resolutionEdwin Cheng2019-05-262-2/+55
|
* Use ItemOrMacro in item resolutionEdwin Cheng2019-05-264-94/+214
|
* Add Either depEdwin Cheng2019-05-261-0/+1
|
* Put back unexpaned_macros after resolveEdwin Cheng2019-05-261-0/+3
|
* rename code_model_api -> code_modelAleksey Kladov2019-05-234-4/+4
|
* kill code_model_implAleksey Kladov2019-05-235-89/+64
|
* remove more referencesAleksey Kladov2019-05-231-56/+56
|
* remove referencesAleksey Kladov2019-05-233-157/+105
|
* kill krate_implAleksey Kladov2019-05-233-26/+12
|
* fix signatureAleksey Kladov2019-05-231-4/+4
|
* add union to code_modelAleksey Kladov2019-05-239-26/+91
|
* add profile calls to parsing/expansion routinesAleksey Kladov2019-05-221-0/+2
|
* Fix crash with int vars in canonicalizationFlorian Diebold2019-05-211-1/+6
|
* Use fuel branch for ChalkFlorian Diebold2019-05-212-4/+4
| | | | This makes sure we don't take too long in trait solving.
* re-enable chalkAleksey Kladov2019-05-211-17/+16
|
* publish gen_lsp_server 0.2Aleksey Kladov2019-05-211-16/+17
|
* profile type inferenceAleksey Kladov2019-05-213-3/+5
|
* profile implements queryAleksey Kladov2019-05-211-0/+2
|
* fix odrer-of-iteration bug in testsAleksey Kladov2019-05-212-7/+15
|
* sort hash maps for testsAleksey Kladov2019-05-214-211/+195
|
* Merge #1296bors[bot]2019-05-211-1/+1
|\ | | | | | | | | | | | | | | 1296: :arrow_up: insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: instaAleksey Kladov2019-05-211-1/+1
| |
* | add _query to query functionsAleksey Kladov2019-05-212-6/+6
|/
* remove minor code duplicationAleksey Kladov2019-05-202-20/+16
|
* simplifyAleksey Kladov2019-05-201-38/+39
|
* Use normal iteration instead of walk_mutEdwin Cheng2019-05-201-8/+5
|
* Add infer for generic default typeEdwin Cheng2019-05-194-15/+80
|
* Add default type to GenericParamEdwin Cheng2019-05-191-3/+10
|
* allow expanding expressionsAleksey Kladov2019-05-142-7/+8
|
* expand to syntax nodeAleksey Kladov2019-05-145-25/+32
|
* store macro kind in HirFileIdAleksey Kladov2019-05-144-21/+38
|
* Merge #1271bors[bot]2019-05-136-11/+15
|\ | | | | | | | | | | | | | | 1271: make AstId untyped r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * make AstId untypedAleksey Kladov2019-05-136-11/+15
| |
* | Increase Chalk solver max_size back to 4Florian Diebold2019-05-131-1/+1
|/ | | | | | Reducing it to 2 was just a failed attempt to see whether that would help fix some slow cases; in fact, it can create new slow cases by replacing concrete types by variables.
* simplifyAleksey Kladov2019-05-124-33/+11
|