Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Enable thread-local coverage marks | Laurențiu Nicola | 2021-03-15 | 1 | -1/+1 | |
| | | ||||||
* | | Simplify source maps for fields | Aleksey Kladov | 2021-03-15 | 2 | -18/+25 | |
| | | ||||||
* | | Create TraitEnvironment through a query | Florian Diebold | 2021-03-13 | 1 | -0/+10 | |
| | | ||||||
* | | Handle `cfg_attr` gating multiple attributes | Jonas Schievink | 2021-03-13 | 1 | -29/+19 | |
| | | ||||||
* | | Extend cfg_attr test | Jonas Schievink | 2021-03-13 | 1 | -0/+3 | |
| | | ||||||
* | | Simplify hir_def TestDB | Jonas Schievink | 2021-03-13 | 1 | -7/+2 | |
| | | ||||||
* | | Remove `ItemTree::source` | Jonas Schievink | 2021-03-12 | 1 | -12/+0 | |
|/ | | | | `HasSource` should be used instead | |||||
* | Prefer names from outer DefMap over extern prelude | Jonas Schievink | 2021-03-10 | 1 | -5/+11 | |
| | ||||||
* | Stop fetching ItemTrees for no reason | Jonas Schievink | 2021-03-10 | 1 | -14/+1 | |
| | ||||||
* | Compilation speed | Aleksey Kladov | 2021-03-09 | 1 | -1/+1 | |
| | ||||||
* | Delete `ContainerId` | Jonas Schievink | 2021-03-09 | 6 | -72/+45 | |
| | ||||||
* | Stop using `ContainerId` in `AssocContainerId` | Jonas Schievink | 2021-03-09 | 3 | -7/+7 | |
| | ||||||
* | Check ancestor maps when computing traits in scope | Jonas Schievink | 2021-03-09 | 1 | -0/+10 | |
| | ||||||
* | Remove `item_scope` field from `Body` | Jonas Schievink | 2021-03-09 | 3 | -175/+6 | |
| | ||||||
* | Use `body.block_scopes` in `ChildBySource` | Jonas Schievink | 2021-03-09 | 1 | -1/+5 | |
| | ||||||
* | Store inner `BlockId`s in `Body` | Jonas Schievink | 2021-03-09 | 2 | -1/+6 | |
| | ||||||
* | Change `ChildBySource` to allow reusing `DynMap` | Jonas Schievink | 2021-03-09 | 2 | -32/+18 | |
| | ||||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 21 | -73/+58 | |
| | ||||||
* | Do not process indexed values more than once | Kirill Bulatov | 2021-03-08 | 1 | -29/+31 | |
| | ||||||
* | Deduplicate search_dependencies results | Kirill Bulatov | 2021-03-08 | 1 | -18/+19 | |
| | ||||||
* | Rename a few `crate_def_map`s to `def_map` | Jonas Schievink | 2021-03-06 | 3 | -16/+16 | |
| | | | | These could all be block `DefMap`s instead of crate-level `DefMap`s | |||||
* | Make two calls virtual | Laurențiu Nicola | 2021-03-05 | 1 | -1/+1 | |
| | ||||||
* | Fix some warnings | Laurențiu Nicola | 2021-03-05 | 1 | -1/+1 | |
| | ||||||
* | Remove incorrect broken test | Jonas Schievink | 2021-03-03 | 1 | -24/+0 | |
| | | | | | `Struct` cannot be named at all in that position, since `super` doesn't resolve to the block scope | |||||
* | Fix `find_path` when inner items are present | Jonas Schievink | 2021-03-01 | 4 | -28/+88 | |
| | ||||||
* | Merge #7778 | bors[bot] | 2021-03-01 | 1 | -2/+11 | |
|\ | | | | | | | | | | | | | | | 7778: Fix lowering trailing self paths in UseTrees r=Veykril a=Veykril Noticed that hovering over `self` in a use tree like `use foo::bar::{self}` showing documentation and such for the current module instead of `bar`. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | Fix lowering trailing self paths in UseTrees | Lukas Wirth | 2021-02-28 | 1 | -2/+11 | |
| | | ||||||
* | | Merge #7804 | bors[bot] | 2021-02-28 | 3 | -79/+73 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 7804: Introduce TypeCtor::Scalar r=lnicola a=Veykril `TypeCtor::Int(..) | TypeCtor::Float(..) | TypeCtor::Char | TypeCtor::Bool` => `TypeCtor::Scalar(..)`, in this case we can actually just straight up use `chalk_ir::Scalar` already since its just a POD without any IDs or anything. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Introduce TypeCtor::Scalar | Lukas Wirth | 2021-02-28 | 3 | -79/+73 | |
| |/ | ||||||
* | | For unresolved macros, hightlight only the last segment | Aleksey Kladov | 2021-02-28 | 5 | -92/+147 | |
| | | ||||||
* | | Restrict visibilities to the containing DefMap | Jonas Schievink | 2021-02-28 | 2 | -4/+46 | |
|/ | ||||||
* | is_visible_from_def_map: handle block expressions | Jonas Schievink | 2021-02-23 | 3 | -9/+37 | |
| | ||||||
* | Wrap `BuiltinType` in code model | Jonas Schievink | 2021-02-11 | 1 | -0/+1 | |
| | ||||||
* | Remove unneeded return | Jonas Schievink | 2021-02-09 | 1 | -2/+2 | |
| | ||||||
* | Remove `pub` | Jonas Schievink | 2021-02-09 | 1 | -2/+2 | |
| | ||||||
* | Use `block_def_map` in `Resolver` | Jonas Schievink | 2021-02-09 | 1 | -118/+97 | |
| | | | | | | | This required a few changes to not bail out immediately if a `ModuleScope` doesn't resolve a path. The `LocalItemsScope` hack is now removed. | |||||
* | Teach `find_path` about inner items | Jonas Schievink | 2021-02-09 | 1 | -10/+91 | |
| | ||||||
* | Add another block def map test | Jonas Schievink | 2021-02-09 | 1 | -0/+27 | |
| | ||||||
* | Make `with_ancestor_maps` public | Jonas Schievink | 2021-02-09 | 1 | -1/+1 | |
| | ||||||
* | Add `TestDB::module_at_position` | Jonas Schievink | 2021-02-09 | 2 | -104/+99 | |
| | ||||||
* | Add expression scopes for blocks | Jonas Schievink | 2021-02-09 | 1 | -4/+18 | |
| | ||||||
* | Test `super` resolution too | Jonas Schievink | 2021-02-05 | 1 | -0/+2 | |
| | ||||||
* | Fix resolution of `self` module within blocks | Jonas Schievink | 2021-02-05 | 2 | -7/+17 | |
| | ||||||
* | Remove redundant clones | Yoshua Wuyts | 2021-02-05 | 3 | -3/+3 | |
| | ||||||
* | Fix merging of `segment_index` in path resolution | Jonas Schievink | 2021-02-05 | 1 | -2/+5 | |
| | ||||||
* | Avoid using ModPath's fields directly | Jonas Schievink | 2021-02-04 | 3 | -8/+9 | |
| | ||||||
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 9 | -39/+58 | |
| | ||||||
* | Intern `TypeRef`s in the containing `ItemTree` | Jonas Schievink | 2021-02-04 | 4 | -21/+67 | |
| | ||||||
* | Expander: store a LocalModuleId, not ModuleId | Jonas Schievink | 2021-02-04 | 2 | -14/+11 | |
| | | | | | It already stores the DefMap containing the module, so having a full ModuleId is unnecessary and makes it easier to mix things up | |||||
* | Don't keep the parent DefMap alive via Arc | Jonas Schievink | 2021-02-04 | 5 | -36/+67 | |
| | | | | | This seems like it could easily leak a lot of memory since we don't currently run GC |