diff --git a/crates/compiler/builtins/roc/List.roc b/crates/compiler/builtins/roc/List.roc index bc732e00b1..29e4d1e7a1 100644 --- a/crates/compiler/builtins/roc/List.roc +++ b/crates/compiler/builtins/roc/List.roc @@ -1481,7 +1481,6 @@ walk! : List elem, state, (state, elem => state) => state walk! = \list, state, func! -> when list is [] -> state - [elem, .. as rest] -> nextState = func! state elem walk! rest nextState func!