Skip to content

Stepper: renaming happening without reason, leading to bug #1730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
martin-henz opened this issue Dec 9, 2024 · 2 comments
Open

Stepper: renaming happening without reason, leading to bug #1730

martin-henz opened this issue Dec 9, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@martin-henz
Copy link
Member

https://share.sourceacademy.org/2vmmx

function rev(xs, result) {
    draw_data(xs, result);
    return is_null(xs)
           ? result
           : rev(tail(xs), pair(head(xs), result));
}

function reverse(xs) {
    return rev(xs, null);
}

reverse(list(1, 2, 3, 4));

gives:
Screenshot 2024-12-09 at 10 09 29 PM

with both rev and reverse renamed to reverse_1.

@martin-henz martin-henz added the Bug Something isn't working label Dec 9, 2024
@CATISNOTSODIUM
Copy link
Member

This problem is resolved in the new stepper.

Source.Academy.Mozilla.Firefox.2025-04-06.14-04-18.mp4

@martin-henz
Copy link
Member Author

resolved by #1742

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants