hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit dc6155ada2d7e34358fa350a18ffcbdd6da78c82
parent 25d1943a458eb2b7ad8300c1c2b4f71f3e8d9ee3
Author: Sebastian <sebastian@sebsite.pw>
Date:   Fri,  6 May 2022 22:47:48 -0400

hare::parse: remove unnecessary double cast

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mhare/parse/expr.ha | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hare/parse/expr.ha b/hare/parse/expr.ha @@ -948,11 +948,10 @@ fn plain_tuple( }; }; - // XXX: Why do we have to cast this twice? harec bug? return ast::expr { start = start, end = lex::prevloc(lexer), - expr = values: ast::tuple_constant: ast::constant_expr, + expr = values: ast::tuple_constant, }; };