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 segment operators nil-safe #69

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

rolodato
Copy link
Member

Avoid NoMethodError when evaluating nil trait values

Avoid `NoMethodError` when evaluating nil trait values
Copy link
Contributor

@matthewelwell matthewelwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rolodato we should be able to fairly easily extend the tests to cover these cases too.

I'm keen to make sure that we're not changing the behaviour.

@rolodato
Copy link
Member Author

Agree, I actually made this PR through GitHub's "edit file" and haven't tested this in the slightest. I (or someone else) can come back to this later.

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.

2 participants