Closed SjuulJanssen closed 1 month ago
Not sure if this should be a bug report or a feature request. However the error is not helpful right now.
Please answer these questions before submitting your issue. Thanks!
objects:
_obj = {} _obj["x.y"] = 1
lists:
_list = [_obj] _list[0].prop = 1
Assignments to work
4 | _obj["x.y"] = 1 | ^ expected one of ["identifier"] got newline
8 | _list[0].prop = 1 | ^ expected one of ["identifier"] got newline
kcl version 0.9.0-beta.1-linux-amd64
See the issue: https://github.com/kcl-lang/kcl/issues/1396 Currently, KCL does not support such syntax
Ok closing it for you then
Not sure if this should be a bug report or a feature request. However the error is not helpful right now.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
objects:
lists:
2. What did you expect to see? (Required)
Assignments to work
3. What did you see instead (Required)
objects:
lists:
4. What is your KCL components version? (Required)