Skip to content
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

Make "last" (and similar variables) read-only #3226

Merged
merged 2 commits into from
Jan 27, 2019

Commits on Jan 25, 2019

  1. Add UpdateStat to allow writing to special variables like 'last'.

    A very subtle mistake in GAP is for users to use the variables
    'last' or 'time', as GAP automatically rewrites these variables
    after every statement. Add a special function 'UpdateStat' for
    changing these variables, so we can disable 'last := x;'
    ChrisJefferson committed Jan 25, 2019
    Configuration menu
    Copy the full SHA
    59ef768 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5b6027 View commit details
    Browse the repository at this point in the history