Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | rename | Aleksey Kladov | 2019-03-26 | 1 | -2/+2 |
| | |||||
* | add typed ids | Aleksey Kladov | 2019-03-26 | 1 | -4/+4 |
| | |||||
* | simplify | Aleksey Kladov | 2019-03-26 | 1 | -3/+3 |
| | |||||
* | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 1 | -2/+2 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -3/+3 |
| | |||||
* | remove lower module | Aleksey Kladov | 2019-03-17 | 1 | -40/+2 |
| | |||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 1 | -2/+2 |
| | |||||
* | Add support for goto definition and hover on Self | Ville Penttinen | 2019-03-07 | 1 | -24/+25 |
| | | | | This fixes #943 | ||||
* | align lower module query names | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -22/+9 |
| | |||||
* | Some cleanup and additional tests | Florian Diebold | 2019-02-01 | 1 | -4/+17 |
| |