Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-53

SonarLanguage converter should throw an exception when parser issues warning

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently it is possible to have invalid slang code which antlr parses at best and does not make our tests fail. We see these cases in the output as:
      line 3:8 missing ';' at '<EOF>'

      We should enforce that in such cases, the slang converter fails.

        Attachments

          Activity

            People

            • Assignee:
              christophe.zurn Christophe Zurn
              Reporter:
              marcelo.sousa Marcelo Sousa (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: