Uploaded image for project: 're-motion'
  1. re-motion
  2. RM-5107

Support empty parameter names when parsing lambda expressions

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13.171
    • Component/s: Data.Linq
    • Labels:
      None

      Description

      Dynamic Linq (http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx) produces LambdaExpressions with empty parameter names, which clashes with the argument checks for identifier names (e.g., in MainFromClause). That's strange, but allowed, so we should support this.

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

          Hide
          fabian.schmied Fabian Schmied added a comment - - edited

          The file "fix.patch" includes Dynamic Linq, and a possible fix (option 3 - generate an identifier name).

          Show
          fabian.schmied Fabian Schmied added a comment - - edited The file "fix.patch" includes Dynamic Linq, and a possible fix (option 3 - generate an identifier name).
          Hide
          fabian.schmied Fabian Schmied added a comment -

          Solved by generating identifiers for empty names.

          Show
          fabian.schmied Fabian Schmied added a comment - Solved by generating identifiers for empty names.

            People

            • Assignee:
              fabian.schmied Fabian Schmied
              Reporter:
              fabian.schmied Fabian Schmied
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 45 minutes Time Not Required
                2h 45m