Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -99/+0 |
| | |||||
* | Fix type names broken by rebase, redo expected test because of rebase | Paul Daniel Faria | 2020-08-10 | 1 | -2/+28 |
| | |||||
* | Move semantic logic into Semantics, fix missing tag for safe amp operator, ↵ | Paul Daniel Faria | 2020-08-10 | 1 | -2/+2 |
| | | | | using functional methods rather than clunky inline closure | ||||
* | Fix rebase errors | Paul Daniel Faria | 2020-08-10 | 1 | -2/+3 |
| | |||||
* | Merge #5684 | bors[bot] | 2020-08-08 | 1 | -0/+11 |
|\ | | | | | | | | | | | | | | | | | | | 5684: Semantic highlighting for unsafe union field access r=jonas-schievink a=Nashenas88 This change adds support for unions in inference and lowering, then extends on that to add the unsafe semantic modifier on field access only. The `is_possibly_unsafe` function in `syntax_highlighting.rs` could be extended to support fns and static muts so that their definitions are not highlighted as unsafe, but only their usage. Also, each commit of this PR updates the tests. By reviewing the files by commit, it's easy to see how the changes in the code affected the tests. Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Apply unsafe semantic highlighting to union field access | Paul Daniel Faria | 2020-08-08 | 1 | -3/+3 |
| | | |||||
| * | Add support for unions in inference and lowering | Paul Daniel Faria | 2020-08-08 | 1 | -4/+4 |
| | | |||||
| * | Add test for unsafe union field access highlighting | Paul Daniel Faria | 2020-08-07 | 1 | -0/+11 |
| | | |||||
* | | Mark static mutable names as unsafe | Paul Daniel Faria | 2020-08-07 | 1 | -2/+2 |
| | | |||||
* | | Add test for accessing static mut | Paul Daniel Faria | 2020-08-07 | 1 | -0/+7 |
|/ | |||||
* | Assingment semantic highlight | GrayJack | 2020-07-20 | 1 | -3/+3 |
| | |||||
* | Handle semantic highlight when STAR is part of the `*{const, mut}` | GrayJack | 2020-07-20 | 1 | -3/+3 |
| | |||||
* | Add new `Punctuation` highlight tag | Leander Tentrup | 2020-07-15 | 1 | -14/+14 |
| | |||||
* | Highlight punctuation as `HighlightTag::Operator` | Leander Tentrup | 2020-07-15 | 1 | -14/+14 |
| | |||||
* | Use dedicated semantic highlight tag for parameters | Aleksey Kladov | 2020-07-11 | 1 | -2/+3 |
| | | | | closes #5106 | ||||
* | Move test data to test_data directory | Aleksey Kladov | 2020-07-01 | 1 | -0/+53 |