Open
Description
Bug Report
1. Minimal reproduce step (Required)
- One Schema
- One Instance of this Schema
Related to #1880
2. What did you expect to see? (Required)
I expect to see that there is exactly 1 instance.
3. What did you see instead (Required)
Depending on whether I use the "_app_xrd" variable I wil get 1 instance (if used after creation) or
2 instances (if the variable is used before the actual creation of the variable _app_xrd
)
While it does not seem like a "normal" use-case to use a variable before it is instanciated, it could happen when running kcl with multiple files as arguments
kcl file1.k file2.k
4. What is your KCL components version? (Required)
0.11.2
Metadata
Metadata
Assignees
Labels
No labels