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

assert current_scan_base > 0 #96

Closed
AlexDenisov opened this issue Feb 16, 2020 · 0 comments
Closed

assert current_scan_base > 0 #96

AlexDenisov opened this issue Feb 16, 2020 · 0 comments

Comments

@AlexDenisov
Copy link
Member

filecheck hits an assertion in the following case (reduced as much I could):

echo "3" > input.txt
echo "[2]" >> input.txt
echo "// CHECK-NEXT: 2" > assert.c
cat input.txt | filecheck assert.c

Stacktrace:

/Library/Frameworks/Python.framework/Versions/3.7/bin/filecheck
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/filecheck", line 10, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/filecheck/FileCheck.py", line 589, in main
    assert current_scan_base > 0
AssertionError
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