diff --git a/exercises/concept/locomotive-engineer/.docs/introduction.md b/exercises/concept/locomotive-engineer/.docs/introduction.md index 5b357509b5..57266eb76c 100644 --- a/exercises/concept/locomotive-engineer/.docs/introduction.md +++ b/exercises/concept/locomotive-engineer/.docs/introduction.md @@ -115,10 +115,12 @@ If the decomposition has variables with incorrect placement and/or an incorrect ```ruby fruits_vegetables = [["apple", "banana"], ["carrot", "potato"]] + (a, b), (d) = fruits_vegetables +# syntax error, unexpected '=', expecting '.' or &. or :: or '[' -syntax error, unexpected ')', expecting '.' or &. or :: or '[' ((a, b), (d)) = fruits_vegetables +# syntax error, unexpected ')', expecting '.' or &. or :: or '[' ``` Experiment here, and you will notice that the first pattern dictates, not the available values on the right hand side.