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

Atom.startsWith() fails when the explicit parameter is greater in length than this Atom #273

Closed
khatchad opened this issue Dec 19, 2017 · 0 comments

Comments

@khatchad
Copy link
Contributor

Exception is thrown when start's length is greater than this Atoms length.

public final boolean startsWith(Atom start) {
assert (start != null);
for (int i = 0; i < start.val.length; ++i) {
if (val[i] != start.val[i])
return false;
}
return true;
}

khatchad added a commit to ponder-lab/WALA that referenced this issue Dec 19, 2017
khatchad added a commit to ponder-lab/WALA that referenced this issue Dec 19, 2017
khatchad added a commit to ponder-lab/WALA that referenced this issue Dec 19, 2017
khatchad added a commit to ponder-lab/WALA that referenced this issue Dec 23, 2017
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

No branches or pull requests

1 participant