aboutsummaryrefslogtreecommitdiff
path: root/std/io.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-05 17:01:54 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-05 17:01:54 -0400
commit768a9780ca26166b4481c06e87bc6d090be71b64 (patch)
tree2d08078aeadf2a403bf53d11127c523f166f6cef /std/io.zig
parentf2a5fe443c5e0178c448d0737d0be037a100e469 (diff)
downloadzig-768a9780ca26166b4481c06e87bc6d090be71b64.tar.gz
zig-768a9780ca26166b4481c06e87bc6d090be71b64.zip
rename compileErr builtin to compileError
Diffstat (limited to 'std/io.zig')
-rw-r--r--std/io.zig14
1 files changed, 7 insertions, 7 deletions
diff --git a/std/io.zig b/std/io.zig
index 45b354ca6f..d68a259878 100644
--- a/std/io.zig
+++ b/std/io.zig
@@ -187,7 +187,7 @@ pub struct InStream {
return;
}
},
- else => @compileErr("unsupported OS"),
+ else => @compileError("unsupported OS"),
}
}
@@ -208,7 +208,7 @@ pub struct InStream {
}
}
},
- else => @compileErr("unsupported OS"),
+ else => @compileError("unsupported OS"),
}
}
@@ -237,7 +237,7 @@ pub struct InStream {
}
return index;
},
- else => @compileErr("unsupported OS"),
+ else => @compileError("unsupported OS"),
}
}
@@ -298,7 +298,7 @@ pub struct InStream {
};
}
},
- else => @compileErr("unsupported OS"),
+ else => @compileError("unsupported OS"),
}
}
@@ -318,7 +318,7 @@ pub struct InStream {
};
}
},
- else => @compileErr("unsupported OS"),
+ else => @compileError("unsupported OS"),
}
}
@@ -339,7 +339,7 @@ pub struct InStream {
}
return result;
},
- else => @compileErr("unsupported OS"),
+ else => @compileError("unsupported OS"),
}
}
@@ -433,6 +433,6 @@ pub fn openSelfExe(stream: &InStream) -> %void {
linux => {
%return stream.open("/proc/self/exe");
},
- else => @compileErr("unsupported os"),
+ else => @compileError("unsupported os"),
}
}