aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-06-18 18:48:29 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-06-18 18:48:29 -0400
commit626b73e8beeaae1cab23f883f877d89d64bbfa39 (patch)
tree4ed0ee57e00134f34656e759282b5c0e771726b2 /src/all_types.hpp
parenta430853a48a5e4dbcd0094c632957e28898159f3 (diff)
downloadzig-626b73e8beeaae1cab23f883f877d89d64bbfa39.tar.gz
zig-626b73e8beeaae1cab23f883f877d89d64bbfa39.zip
remove error to/from int casting syntax; add `@errorToInt`/`@intToError`
See #1061
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index d8432232c2..e1a4ed7510 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1376,6 +1376,8 @@ enum BuiltinFnId {
BuiltinFnIdIntToFloat,
BuiltinFnIdFloatToInt,
BuiltinFnIdBoolToInt,
+ BuiltinFnIdErrToInt,
+ BuiltinFnIdIntToErr,
BuiltinFnIdIntType,
BuiltinFnIdSetCold,
BuiltinFnIdSetRuntimeSafety,