Zig: zeroes(@OpaqueType()) triggers assertion in compiler.

Created on 29 Feb 2020  路  1Comment  路  Source: ziglang/zig

var widely_regarded_as_a_bad_move = zeroes(@OpaqueType());
Assertion failed at D:\a\1\s\src\analyze.cpp:1003 in get_fn_type. This is a bug in the Zig compiler.
Unable to dump stack trace: debug info stripped

While that code is total nonsense, it shouldn't crash the compiler. 0.5.0+68dbba212

bug contributor friendly stage1

Most helpful comment

I'd like to tackle this as my first stage1 issue.

>All comments

I'd like to tackle this as my first stage1 issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrewrk picture andrewrk  路  3Comments

fengb picture fengb  路  3Comments

andrewrk picture andrewrk  路  3Comments

bronze1man picture bronze1man  路  3Comments

andrewrk picture andrewrk  路  3Comments