diff options
| author | John Schmidt <john.schmidt.h@gmail.com> | 2023-02-25 20:44:53 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-03-21 15:09:42 +0200 |
| commit | ec445fb6b8bb3f3d423cafa4f3a7860da65ca233 (patch) | |
| tree | d9e9a35edb8bd62431fa5a0e9f0945ad62e10a48 /src/Module.zig | |
| parent | 8642770eff4f1770aa5de88907946c60fe5ff0d8 (diff) | |
| download | zig-ec445fb6b8bb3f3d423cafa4f3a7860da65ca233.tar.gz zig-ec445fb6b8bb3f3d423cafa4f3a7860da65ca233.zip | |
Improve error messages for break type coercion
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig index 17016865d1..906bde95c7 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -5949,7 +5949,7 @@ pub const PeerTypeCandidateSrc = union(enum) { none: void, /// When we want to know the the src of candidate i, look up at /// index i in this slice - override: []LazySrcLoc, + override: []?LazySrcLoc, /// resolvePeerTypes originates from a @TypeOf(...) call typeof_builtin_call_node_offset: i32, |
