aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-10 06:14:57 -0500
committerGitHub <noreply@github.com>2022-12-10 06:14:57 -0500
commit7637ac584fc2cee95dc5a20f51844b72fc7ecc82 (patch)
tree92d425bd0fccd34472453fa38c0cd721612023ea /src/value.zig
parente4874d842ec3a771a5c438b4c48020a74c221935 (diff)
parent89d1ccc477c1dbc8bb8d13ad2598ef0190c25898 (diff)
downloadzig-7637ac584fc2cee95dc5a20f51844b72fc7ecc82.tar.gz
zig-7637ac584fc2cee95dc5a20f51844b72fc7ecc82.zip
Merge pull request #13821 from Vexu/eliminate-bound-fn
Eliminate `BoundFn` type from the language
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,