Q7

ECL can't correctly assign parameterless args to command features

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.9
  • Fix Version/s: 1.3.10
  • Component/s: ECL
  • Labels:
  • Test Mode:
    Manual

Description

This code fails:

let [val count 54] {
  repeat $count { log foo }
}

The error is:

Can't assign value EclInteger... to parameter index

Workaround: explicit arg names

let [val count 54] {
  repeat -times $count -command { log foo }
}

Activity

Hide
Stanislav Belyakov added a comment - 04/Dec/13 3:15 PM

Added parameterless args assigning skip for non suitable command features

Show
Stanislav Belyakov added a comment - 04/Dec/13 3:15 PM Added parameterless args assigning skip for non suitable command features

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    15/Nov/13 9:15 AM
    Updated:
    04/Dec/13 3:15 PM
    Resolved:
    04/Dec/13 3:15 PM