zls/src
nullptrdevs 55b1aeb6f7
Avoid accessing inactive union fields in completeDot (#1115)
As reported on Discord by CodotakuYT:
```zig
fn populate(T: type, index: i32) T {
    _ = index;
    @typeInfo(T).struct.
}
```
```
thread 17384 panic: access of union field 'ast_node' while field 'param_payload' is active
C:\Users\taoua\zls\src\features\completions.zig:875:61: 0x7ff68070caac in completeDot (zls.exe.obj)
                const node_data = nodes_data[local_decl.decl.ast_node];
```
2023-04-05 10:28:21 -04:00
..
analyser fix typos 2023-03-15 17:34:23 +01:00
config_gen add support for running ast-check without zig 2023-04-01 23:03:51 +02:00
data update snippet data 2023-03-26 16:20:15 +01:00
features Avoid accessing inactive union fields in completeDot (#1115) 2023-04-05 10:28:21 -04:00
special hack latest build changes (#1077) 2023-03-18 20:50:26 -04:00
stage2 explain how AstGen will diverge from zig codebase 2023-04-01 23:03:51 +02:00
tracy@f493d4aa8b Update dependencies 2022-08-20 19:27:31 +02:00
analysis.zig Add anytype resolution based on call references (#1067) 2023-03-31 11:54:46 -04:00
ast.zig rework nodesAtLoc 2023-03-07 09:38:18 -08:00
BuildAssociatedConfig.zig fix typos 2023-03-15 17:34:23 +01:00
ComptimeInterpreter.zig Fix build runner (#1029) 2023-03-05 14:08:31 -05:00
Config.zig add support for running ast-check without zig 2023-04-01 23:03:51 +02:00
configuration.zig Fix crash if zls.json is empty (#1034) 2023-03-05 14:09:39 -05:00
debug.zig fix printDocumentScope 2023-03-23 15:13:33 +00:00
diff.zig more tracy calls (#1052) 2023-03-11 13:43:14 -05:00
DocumentStore.zig Merge pull request #1000 from Techatrix/stage2-zir 2023-04-01 23:08:40 -04:00
Header.zig fix typos 2023-03-15 17:34:23 +01:00
lsp.zig ignore an unknown CodeActionKind (#1001) 2023-02-21 22:27:47 +00:00
main.zig make semantic token configuration an enum 2023-03-23 15:02:12 +00:00
offsets.zig fix typos 2023-03-15 17:34:23 +01:00
Server.zig Remove format lt 512 diff restriction (#1109) 2023-04-04 16:23:44 -04:00
shared.zig update data files 2023-01-28 22:42:13 +00:00
tracy.zig tracy: workaround zig bug (#1066) 2023-03-15 11:59:56 -04:00
translate_c.zig more tracy calls (#1052) 2023-03-11 13:43:14 -05:00
uri.zig add multi object for loop support (#1011) 2023-02-21 17:11:35 -05:00
ZigVersionWrapper.zig support new module cli arguments (#1019) 2023-02-23 15:18:52 -05:00
zls.zig Rework file structure (#1069) 2023-03-17 23:01:41 +01:00