Application: correct_argument_in_call_1_jx_path_10_1

Application of fix:

correct_argument_in_call_1

Code example:

jx_path_10

Parse tree:

argument_list [41, 22] - [42, 39]
  field_access [41, 23] - [41, 52] @wrong_arg
    object: array_access [41, 23] - [41, 30]
      array: identifier [41, 23] - [41, 27]
      index: integer [41, 28] - [41, 29]
    field: identifier [41, 31] - [41, 43]
    arguments: argument_list [41, 43] - [41, 52]
      identifier [41, 44] - [41, 51]
  field_access [41, 54] - [42, 38] @post
    object: array_access [41, 54] - [41, 61]
      array: identifier [41, 54] - [41, 58]
      index: integer [41, 59] - [41, 60]
    field: identifier [42, 17] - [42, 29]
    arguments: argument_list [42, 29] - [42, 38]
      identifier [42, 30] - [42, 37]

Parameters:

@correct_arg = (field_access "args[0].compute(context)")
Raw json