From d1cebcb60822ac3f81606eb7124e29c760eb7ed8 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 22 Feb 2021 21:40:55 +0200 Subject: [PATCH] 2048: remove `[no_inline]` (no longer needed) --- examples/2048/2048.v | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/2048/2048.v b/examples/2048/2048.v index 709b58a2bf..1c6c47765f 100644 --- a/examples/2048/2048.v +++ b/examples/2048/2048.v @@ -252,8 +252,6 @@ fn (b Board) hmirror() Board { return res } -// GCC optimization bug; inlining fails when compiled with -prod -[no_inline] fn (t TileLine) to_left() TileLine { right_border_idx := 4 mut res := t