We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2401c commit 541bf03Copy full SHA for 541bf03
cue/testdata/cycle/issue306.txtar
@@ -0,0 +1,38 @@
1
+-- in.cue --
2
+a: 12
3
+#Controller: settings: {
4
+ controller: #Controller
5
+}
6
+
7
+-- out/eval --
8
+Errors:
9
+#Controller.settings.controller: structural cycle
10
11
+Result:
12
+(_|_){
13
+ // [structural cycle]
14
+ a: (int){ 12 }
15
+ #Controller: (_|_){
16
17
+ settings: (_|_){
18
19
+ controller: (_|_){
20
+ // [structural cycle] #Controller.settings.controller: structural cycle
21
+ settings: (_|_){// {
22
+ // controller: 〈2;#Controller〉
23
+ // }
24
+ }
25
26
27
28
29
+-- out/compile --
30
+--- in.cue
31
+{
32
+ a: 12
33
+ #Controller: {
34
+ settings: {
35
+ controller: 〈2;#Controller〉
36
37
38
0 commit comments