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

Fix name #17

Merged
merged 2 commits into from Dec 13, 2021
Merged

Fix name #17

merged 2 commits into from Dec 13, 2021

Conversation

victorbenichoux
Copy link
Owner

This fixes a bug encountered when using ticktock in a REPL with unnamed tick calls.

In this context, clock.tick_filename does not exist, and name_field_fn fails because tick_name is used before being defined. This was broken recently.

The first commit adds a test to expose the bug, while the second fixes it.

Victor Benichoux added 2 commits November 30, 2021 22:25
When using a REPL, name_field_fn fails (tick_name is not defined and tick_filename does not exist)
@victorbenichoux victorbenichoux merged commit d6e6a96 into main Dec 13, 2021
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.

None yet

1 participant