From 33052f41809968f30b076aa93884ee58df354e4d Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Wed, 12 Jul 2017 14:07:42 -0700 Subject: [PATCH] Test compiling a lot of comment lines --- tests/compilers/test_ast.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/compilers/test_ast.py b/tests/compilers/test_ast.py index 1bacdf0..cd982d1 100644 --- a/tests/compilers/test_ast.py +++ b/tests/compilers/test_ast.py @@ -588,3 +588,8 @@ def test_setv_builtins(): (defn get [self] 42)) (defn if* [self] 0)) """) + + +def test_lots_of_comment_lines(): + # https://github.com/hylang/hy/issues/1313 + can_compile(1000 * ";\n")