aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAlexandros Naskos <alex_naskos@hotmail.com>2018-04-24 15:03:46 +0300
committerAlexandros Naskos <alex_naskos@hotmail.com>2018-04-24 15:03:46 +0300
commitec2a3ed500d4ba269c87b3ad0efe7bcc89eb2057 (patch)
treed7e124dc1700117c65a8e77f1705e1d8976464d8 /src/codegen.cpp
parentfb88f5a0d21f68632a8c712e14a9640f9c4f6cb3 (diff)
downloadzig-ec2a3ed500d4ba269c87b3ad0efe7bcc89eb2057.tar.gz
zig-ec2a3ed500d4ba269c87b3ad0efe7bcc89eb2057.zip
Attempt at adding comptime union field access
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index ea2d9f463e..60a459f822 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -6347,6 +6347,7 @@ static void define_builtin_compile_vars(CodeGen *g) {
buf_appendf(contents, "};\n\n");
}
{
+ // TODO: Add method info where methods are supported.
buf_appendf(contents,
"pub const IntInfo = struct {\n"
" is_signed: bool,\n"