aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2021-09-20 21:05:42 +0300
committerAndrew Kelley <andrew@ziglang.org>2021-09-20 20:51:31 -0700
commit55e7c099caa7cf8dc253dac21765bb994e06b741 (patch)
tree8bca8b4f585bc0beb70e78346d704fbeb2b3eadd /src/type.zig
parentd64d5cfc0a72a9989ed58548dd806a663f847ef5 (diff)
downloadzig-55e7c099caa7cf8dc253dac21765bb994e06b741.tar.gz
zig-55e7c099caa7cf8dc253dac21765bb994e06b741.zip
stage2: various fixes to cImport, sizeOf and types to get tests passing
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index db193639a7..5d184ed2fc 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -602,8 +602,8 @@ pub const Type = extern union {
}
return false;
},
+ .Float => return a.tag() == b.tag(),
.Opaque,
- .Float,
.BoundFn,
.Frame,
=> std.debug.panic("TODO implement Type equality comparison of {} and {}", .{ a, b }),