Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9946

[DF] Broken edge cases in jitting of strings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.16/00
    • Fix Version/s: 6.18/00
    • Component/s: None
    • Labels:
      None
    • Environment:

      any

      Description

      A single return statement is not interpreted correctly as the body of a lambda.
      Code containing an escaped string literal is not interpreted correctly as the body of a lambda.

      Reproducers:

      *ROOT::RDataFrame(1).Define("x", "42").Define("y","return x;").Max("y"); // return statement with nothing to precede it
      *ROOT::RDataFrame(1).Define("x", "42").Define("y","auto _ = \"foo\"; return x;").Max("y"); // escaped string
      *ROOT::RDataFrame(1).Define("x", "42").Define("y","int a; return x").Max("y"); // return statement with no semicolon
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpiparo Danilo Piparo
                Reporter:
                eguiraud Enrico Guiraud
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Actual End: