-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Top level config unification backward reference. #247
Comments
Since data2 is defined after data1 struct during compilation it isn't finding the data2 struct because it is used before the declaration. I tried to recreate the issue I do get the same error but when I tried to rearrange the code like this:
it gives the expected output: version: v0.1.0
data2:
name: '1'
version: v0.1.0
data1:
name: '1' I am not sure what is expected here? @Peefy |
You are right! |
Enhancement
For the following KCL code (test.k):
I want to get the expected YAML data:
Instead of the error message:
The text was updated successfully, but these errors were encountered: