Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -27/+27 |
| | |||||
* | complete fields in enum variants | Ekaterina Babshukova | 2019-07-12 | 1 | -0/+5 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -2/+2 |
| | | | | this is in preparation for the new rowan API | ||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -7/+11 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | Implement autoderef using the Deref trait | Florian Diebold | 2019-06-15 | 1 | -0/+11 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 1 | -3/+3 |
| | |||||
* | remove some hacks from nameresolution for macros | Aleksey Kladov | 2019-06-08 | 1 | -3/+2 |
| | |||||
* | somewhat better name | Aleksey Kladov | 2019-06-08 | 1 | -2/+2 |
| | |||||
* | one macro def should be enough | Aleksey Kladov | 2019-06-08 | 1 | -24/+6 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -7/+4 |
| | |||||
* | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 1 | -2/+7 |
| | |||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | simplify | Aleksey Kladov | 2019-05-12 | 1 | -15/+3 |
| | |||||
* | simplify | Aleksey Kladov | 2019-05-12 | 1 | -7/+6 |
| | |||||
* | Merge #1208 | bors[bot] | 2019-05-04 | 1 | -3/+40 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1208: [WIP] Goto for Macro's r=matklad a=Lapz Adds goto definition for macros. Currently only works for macros in the current crate ~~otherwise it panics~~. Proper macro resolution needs to be added for it to resolve macros in other crates. Todo - [X] Allow goto from macro calls - [X] Fix panics - [x] Add tests ![Screen Recording 2019-04-25 at 18 00 24](https://user-images.githubusercontent.com/19998186/56754499-1dd01c00-6785-11e9-9e9a-1e36de70cfa3.gif) Co-authored-by: Lenard Pratt <[email protected]> | ||||
| * | Added local macro goto | Lenard Pratt | 2019-05-04 | 1 | -3/+40 |
| | | |||||
* | | Handle recursive types in canonicalization | Florian Diebold | 2019-05-04 | 1 | -1/+1 |
| | | |||||
* | | Canonicalize before doing method resolution | Florian Diebold | 2019-05-04 | 1 | -1/+10 |
|/ | |||||
* | move auto-imoprter into IDE | Aleksey Kladov | 2019-04-22 | 1 | -14/+1 |
| | | | | | auto-import is purely an IDE concern, so it should be done outside of HIR | ||||
* | complete_import: prevent panic when the anchor is the completion source range | Andrea Pretto | 2019-04-21 | 1 | -5/+1 |
| | | | | | | (fix rebase mess) Please enter the commit message for your changes. Lines starting | ||||
* | complete_import: add new import resolver infrastructure with some hardcoded ↵ | Andrea Pretto | 2019-04-21 | 1 | -1/+18 |
| | | | | | | importable name. Changes complete_scope to support that. | ||||
* | Refactor method candidate generation a bit | Florian Diebold | 2019-04-14 | 1 | -1/+11 |
| | | | | | | This fixes the order in which candidates are chosen a bit (not completely though, as the ignored test demonstrates), and makes autoderef work with trait methods. As a side effect, this also makes completion of trait methods work :) | ||||
* | cleanups | Aleksey Kladov | 2019-04-13 | 1 | -3/+11 |
| | |||||
* | slight encapsulation | Aleksey Kladov | 2019-04-13 | 1 | -2/+2 |
| | |||||
* | move ScopeEntryWithSyntax | Aleksey Kladov | 2019-04-13 | 1 | -1/+17 |
| | |||||
* | drop obsolete fixme | Aleksey Kladov | 2019-04-13 | 1 | -4/+4 |
| | |||||
* | hide resolver | Aleksey Kladov | 2019-04-13 | 1 | -6/+14 |
| | |||||
* | fold ScopeWithSyntax into SourceAnalyzer | Aleksey Kladov | 2019-04-13 | 1 | -37/+125 |
| | |||||
* | make private | Aleksey Kladov | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | only def-with-body remains | Aleksey Kladov | 2019-04-13 | 1 | -13/+3 |
| | |||||
* | generalize | Aleksey Kladov | 2019-04-13 | 1 | -15/+7 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-13 | 1 | -10/+5 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-13 | 1 | -7/+1 |
| | |||||
* | make private | Aleksey Kladov | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | hide some scopes | Aleksey Kladov | 2019-04-13 | 1 | -0/+11 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-12 | 1 | -6/+0 |
| | |||||
* | make stuff private | Aleksey Kladov | 2019-04-12 | 1 | -6/+2 |
| | |||||
* | simplify | Aleksey Kladov | 2019-04-12 | 1 | -54/+22 |
| | |||||
* | simplify tests | Aleksey Kladov | 2019-04-12 | 1 | -0/+10 |
| | |||||
* | use really correct resolver for expressions | Aleksey Kladov | 2019-04-12 | 1 | -6/+18 |
| | |||||
* | add todo | Aleksey Kladov | 2019-04-11 | 1 | -0/+1 |
| | |||||
* | use correct resolver for expressions | Aleksey Kladov | 2019-04-11 | 1 | -3/+1 |
| | |||||
* | remove resolver from CompletonContext | Aleksey Kladov | 2019-04-11 | 1 | -24/+5 |
| | |||||
* | generalize SourceAnalyzer to handle all defs with bodies | Aleksey Kladov | 2019-04-11 | 1 | -11/+19 |
| | |||||
* | minimize the API | Aleksey Kladov | 2019-04-11 | 1 | -19/+9 |
| | |||||
* | rename | Aleksey Kladov | 2019-04-11 | 1 | -6/+6 |
| | |||||
* | introduce SourceAnalyzer | Aleksey Kladov | 2019-04-11 | 1 | -2/+98 |
| | |||||
* | Merge #1076 | bors[bot] | 2019-04-02 | 1 | -1/+43 |
|\ | | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]> | ||||
| * | Added const bodies and static body to the ast | Lenard Pratt | 2019-04-02 | 1 | -1/+43 |
| | | | | | | | | | | | | and added inference the inference test reduce code duplication | ||||
* | | switch to new rowan | Aleksey Kladov | 2019-04-01 | 1 | -4/+4 |
|/ |