diff options
| author | Techatrix <techatrix@mailbox.org> | 2024-12-28 08:04:15 +0100 |
|---|---|---|
| committer | Techatrix <techatrix@mailbox.org> | 2025-03-07 22:20:34 +0100 |
| commit | ad38af77fa8ef3fe6938365258e198696fbf53d9 (patch) | |
| tree | 00e4a5d103fb0b9686735d1ff953fd5c84b848a2 /src/Compilation | |
| parent | 5765736867f17df63740017a2a842427f046743f (diff) | |
| download | zig-ad38af77fa8ef3fe6938365258e198696fbf53d9.tar.gz zig-ad38af77fa8ef3fe6938365258e198696fbf53d9.zip | |
remove unreachable code paths from std.zig.Ast.lastToken
This function checks for various possibilities that are never produced
by the parser.
Given that lastToken is unsafe to call on an Ast with errors, I also
removed code paths that would be reachable on an Ast with errors.
Diffstat (limited to 'src/Compilation')
0 files changed, 0 insertions, 0 deletions
