Logo
Explore Help
Sign In
ada/langkit
0
0
Fork 0
You've already forked langkit
mirror of https://github.com/AdaCore/langkit.git synced 2026-02-12 12:28:12 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
langkit/testsuite/tests/python_api/asserts/test.out

10 lines
124 B
Plaintext
Raw Permalink Normal View History

Python API: fix bindings when assertions are disabled Python's -O command-line option disableds the execution of "assert" statements. In order for the generated Python bindings to work in such a mode, we need to keep assertion logic only in "assert" statements. This commit fixes statements that currently don't respect this principle. Fixes GitHub issue #485 TN: U326-020
2021-03-26 09:14:52 -04:00
main.py: Running...
Diagnostics:
1:1-1:2: Expected 'example', got '{'
Token range:
'{example example'
main.py: Done.
Done
Reference in New Issue Copy Permalink
Powered by Gitea Page: 379ms Template: 28ms
English
English
Licenses API