mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
Removed fixed todo
This commit is contained in:
parent
5ab25798e3
commit
1d378d8f26
@ -1917,7 +1917,6 @@ static AstNode *trans_unary_operator(Context *c, ResultUsed result_used, TransSc
|
||||
|
||||
switch (stmt->getOpcode()) {
|
||||
case UO_LNot:
|
||||
// TODO: Handle int, float, pointer negation
|
||||
return trans_create_node_prefix_op(c, PrefixOpBoolNot, trans_to_bool_expr(c, scope, sub_node));
|
||||
case UO_Not:
|
||||
return trans_create_node_prefix_op(c, PrefixOpBinNot, sub_node);
|
||||
|
Loading…
Reference in New Issue
Block a user