diff --git a/src/analyze.cpp b/src/analyze.cpp index 7243b8565a..b966cb4e30 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -654,6 +654,7 @@ static bool num_lit_fits_in_other_type(CodeGen *g, TypeTableEntry *literal_type, return false; } } + zig_unreachable(); } diff --git a/src/parser.cpp b/src/parser.cpp index c94daf5582..797c7b97b5 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -701,6 +701,11 @@ static void parse_number_literal(ParseContext *pc, Token *token, AstNodeNumberLi double x; (void)x; + (void)decimal_end; + (void)e_present; + (void)e_positive; + (void)e_digit_start; + (void)e_digit_end; zig_panic("TODO parse float"); } else { // integer