Skip to content

Conversation

@bettio
Copy link
Collaborator

@bettio bettio commented Dec 26, 2025

Fix:
Range.ex:197: cannot find or invoke local last1/2 inside match. Only macros can be invoked in a match and they must be defined before their invocation. Called as: last1(/ / step1 = range1, first2..last2(/ / step2 = range2))

Revert this commit when updating Elixir.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio force-pushed the fix-elixir-1.8-build-error branch from 86d4e5b to c0d4b1f Compare December 27, 2025 10:13
Fix:
Range.ex:197: cannot find or invoke local last1/2 inside match.
Only macros can be invoked in a match and they must be defined before their invocation.
Called as: last1(/ / step1 = range1, first2..last2(/ / step2 = range2))

Range.ex:204: undefined function size/1

Revert this commit when updating Elixir.

Signed-off-by: Davide Bettio <[email protected]>
Update it in order to build Range.ex.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio force-pushed the fix-elixir-1.8-build-error branch from f68fd78 to 8a65751 Compare December 27, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant