aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-12-08 19:52:05 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-12-09 20:37:18 -0700
commit9d93b2ccf11f584320a2c5209dd2d94705167695 (patch)
treebc746509f92c029be2b6cd3338aace01a5baa91e /src/value.zig
parent5831b68341827b544ea3f268c921e9044bd11047 (diff)
downloadzig-9d93b2ccf11f584320a2c5209dd2d94705167695.tar.gz
zig-9d93b2ccf11f584320a2c5209dd2d94705167695.zip
Eliminate `BoundFn` type from the language
Closes #9484
Diffstat (limited to 'src/value.zig')
-rw-r--r--src/value.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/value.zig b/src/value.zig
index d3035946f9..dc0b150abc 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -2419,7 +2419,6 @@ pub const Value = extern union {
if (val.tag() == .runtime_value) return;
switch (zig_ty_tag) {
- .BoundFn => unreachable, // TODO remove this from the language
.Opaque => unreachable, // Cannot hash opaque types
.Void,
@@ -2566,7 +2565,6 @@ pub const Value = extern union {
if (val.tag() == .runtime_value) return;
switch (ty.zigTypeTag()) {
- .BoundFn => unreachable, // TODO remove this from the language
.Opaque => unreachable, // Cannot hash opaque types
.Void,
.NoReturn,