diff --git a/jedi/settings.py b/jedi/settings.py index 0daa3fad..ab359956 100644 --- a/jedi/settings.py +++ b/jedi/settings.py @@ -137,7 +137,7 @@ On Linux, if environment variable ``$XDG_CACHE_HOME`` is set, # parser # ---------------- -fast_parser = True +fast_parser = False """ Use the fast parser. This means that reparsing is only being done if something has been changed e.g. to a function. If this happens, only the diff --git a/test/test_new_parser.py b/test/test_new_parser.py index 8d39d879..b5cac098 100644 --- a/test/test_new_parser.py +++ b/test/test_new_parser.py @@ -21,3 +21,4 @@ def test_basic_parsing(): compare('\na #pass\n') compare('wblabla* 1\t\n') compare('def x(a, b:3): pass\n') + compare('assert foo\n')