lizard icon indicating copy to clipboard operation
lizard copied to clipboard

Some structures in static blocks are identified as function in Java

Open cg122 opened this issue 4 years ago • 0 comments

See below the failed test:

    def test_structure_in_static_block(self):
        result = get_java_function_list("""
          static { if(){}; catch(){} }
        """)
        self.assertEqual(0, len(result))  

################
AssertionError: 0 != 2

cg122 avatar Feb 08 '21 18:02 cg122