aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted
diff options
context:
space:
mode:
authorVexu <git@vexu.eu>2020-05-08 14:52:09 +0300
committerVexu <git@vexu.eu>2020-05-08 15:10:38 +0300
commit10abffcd98f2f1ac9e8532c53820d7c1eea6d88f (patch)
tree208a55519fc3e5ca9f05d13c0c3ab3aca04f4f43 /src-self-hosted
parentb6dc7fc9ffddebce6f04a5349c8f2252c457adf7 (diff)
downloadzig-10abffcd98f2f1ac9e8532c53820d7c1eea6d88f.tar.gz
zig-10abffcd98f2f1ac9e8532c53820d7c1eea6d88f.zip
fix more private member access
Diffstat (limited to 'src-self-hosted')
-rw-r--r--src-self-hosted/ir/text.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-self-hosted/ir/text.zig b/src-self-hosted/ir/text.zig
index e1efb40fe5..1efcd6f599 100644
--- a/src-self-hosted/ir/text.zig
+++ b/src-self-hosted/ir/text.zig
@@ -236,7 +236,7 @@ pub const Inst = struct {
@"comptime_int",
@"comptime_float",
- fn toType(self: BuiltinType) Type {
+ pub fn toType(self: BuiltinType) Type {
return switch (self) {
.@"isize" => Type.initTag(.@"isize"),
.@"usize" => Type.initTag(.@"usize"),