BREAKING: Change array functions to call user function with keyword args (#6779)

* Change array functions to call user function with keyword args

* Fix KCL to use keyword params

* Remove unneeded positional call code

* Update docs

* Update output
This commit is contained in:
Jonathan Tran
2025-05-08 15:10:47 -04:00
committed by GitHub
parent 1ccf8d4dd4
commit e960d4d8a4
27 changed files with 44192 additions and 1356 deletions

View File

@ -857,7 +857,8 @@ description: Result of parsing import_async.kcl
"name": "i",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
}
],
"start": 0,
@ -1093,7 +1094,8 @@ description: Result of parsing import_async.kcl
"name": "r",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
}
],
"start": 0,
@ -1324,7 +1326,8 @@ description: Result of parsing import_async.kcl
"name": "a",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
}
],
"start": 0,
@ -1526,7 +1529,8 @@ description: Result of parsing import_async.kcl
"name": "i",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
}
],
"start": 0,
@ -1748,7 +1752,8 @@ description: Result of parsing import_async.kcl
"name": "i",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
}
],
"start": 0,
@ -2308,7 +2313,7 @@ description: Result of parsing import_async.kcl
"name": {
"commentStart": 0,
"end": 0,
"name": "sg",
"name": "accum",
"start": 0,
"type": "Identifier"
},
@ -2358,14 +2363,15 @@ description: Result of parsing import_async.kcl
"name": "i",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
},
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"name": "sg",
"name": "accum",
"start": 0,
"type": "Identifier"
}
@ -2924,7 +2930,7 @@ description: Result of parsing import_async.kcl
"name": {
"commentStart": 0,
"end": 0,
"name": "sg",
"name": "accum",
"start": 0,
"type": "Identifier"
},
@ -2956,14 +2962,15 @@ description: Result of parsing import_async.kcl
"name": "i",
"start": 0,
"type": "Identifier"
}
},
"labeled": false
},
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"name": "sg",
"name": "accum",
"start": 0,
"type": "Identifier"
}