diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2021-01-11 11:19:24 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-01-30 22:26:44 +0200 |
| commit | 0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8 (patch) | |
| tree | 1a9a37f1a5fc96b56044f74c186101d5ac862654 /src/value.zig | |
| parent | 1637d8ac80b46599e276eb767208f54f0a30ccf0 (diff) | |
| download | zig-0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8.tar.gz zig-0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8.zip | |
Replace @TagType uses, mostly with std.meta.Tag
Diffstat (limited to 'src/value.zig')
| -rw-r--r-- | src/value.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.zig b/src/value.zig index 5b0563ca98..50298da682 100644 --- a/src/value.zig +++ b/src/value.zig @@ -223,7 +223,7 @@ pub const Value = extern union { pub fn tag(self: Value) Tag { if (self.tag_if_small_enough < Tag.no_payload_count) { - return @intToEnum(Tag, @intCast(@TagType(Tag), self.tag_if_small_enough)); + return @intToEnum(Tag, @intCast(std.meta.Tag(Tag), self.tag_if_small_enough)); } else { return self.ptr_otherwise.tag; } |
