@@ -133,7 +133,8 @@ letCycleOK.t2.a.X: structural cycle:
133
133
./in.cue:23:11
134
134
letCycleFail.t1.a.X: structural cycle:
135
135
./in.cue:33:11
136
- disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
136
+ disjunctionCycle.b: cannot use 1 (type int) as type list:
137
+ ./in.cue:56:5
137
138
./in.cue:56:9
138
139
b: structural cycle:
139
140
./in.cue:62:6
@@ -211,15 +212,18 @@ Result:
211
212
disjunctionCycle: (_|_){
212
213
// [eval]
213
214
a: (_|_){
214
- // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
215
+ // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
216
+ // ./in.cue:56:5
215
217
// ./in.cue:56:9
216
218
}
217
219
b: (_|_){
218
- // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
220
+ // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
221
+ // ./in.cue:56:5
219
222
// ./in.cue:56:9
220
223
}
221
224
c: (_|_){
222
- // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
225
+ // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
226
+ // ./in.cue:56:5
223
227
// ./in.cue:56:9
224
228
}
225
229
}
@@ -349,7 +353,7 @@ Result:
349
353
diff old new
350
354
--- old
351
355
+++ new
352
- @@ -1,47 +1,49 @@
356
+ @@ -1,50 +1,50 @@
353
357
Errors:
354
358
-closeCycle.a: structural cycle
355
359
-closeCycle.b.d: structural cycle
@@ -361,17 +365,20 @@ diff old new
361
365
-letCycleFail.t1.a.c: structural cycle
362
366
-structCycle.a: structural cycle
363
367
-structCycle.b.d: structural cycle
364
- -disjunctionCycle.a: cannot use 1 (type int) as list in argument 1 to and:
368
+ -disjunctionCycle.a: cannot use 1 (type int) as type list:
369
+ - ./in.cue:56:5
365
370
- ./in.cue:56:9
366
371
+printCycle.a.X: structural cycle
367
372
+structCycle.c: structural cycle
368
373
+letCycleOK.t2.a.X: structural cycle:
369
374
+ ./in.cue:23:11
370
375
+letCycleFail.t1.a.X: structural cycle:
371
376
+ ./in.cue:33:11
372
- disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
377
+ disjunctionCycle.b: cannot use 1 (type int) as type list:
378
+ ./in.cue:56:5
373
379
./in.cue:56:9
374
- -disjunctionCycle.c: cannot use 1 (type int) as list in argument 1 to and:
380
+ -disjunctionCycle.c: cannot use 1 (type int) as type list:
381
+ - ./in.cue:56:5
375
382
- ./in.cue:56:9
376
383
b: structural cycle:
377
384
./in.cue:62:6
@@ -424,7 +431,7 @@ diff old new
424
431
}
425
432
}
426
433
}
427
- @@ -56 ,20 +58 ,16 @@
434
+ @@ -59 ,20 +59 ,16 @@
428
435
// [structural cycle] letCycleFail.t1.a.X: structural cycle
429
436
}
430
437
c: (_|_){
@@ -455,32 +462,36 @@ diff old new
455
462
}
456
463
x: (struct){
457
464
y: (string){ "" }
458
- @@ -85,15 +83,15 @@
465
+ @@ -88,17 +84,17 @@
459
466
disjunctionCycle: (_|_){
460
467
// [eval]
461
468
a: (_|_){
462
- - // [eval] disjunctionCycle.a: cannot use 1 (type int) as list in argument 1 to and:
469
+ - // [eval] disjunctionCycle.a: cannot use 1 (type int) as type list:
470
+ - // ./in.cue:56:5
463
471
- // ./in.cue:56:9
464
472
- }
465
473
- b: (_|_){
466
- - // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
474
+ - // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
475
+ - // ./in.cue:56:5
467
476
- // ./in.cue:56:9
468
477
- }
469
478
- c: (_|_){
470
- - // [eval] disjunctionCycle.c: cannot use 1 (type int) as list in argument 1 to and:
471
- + // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
479
+ - // [eval] disjunctionCycle.c: cannot use 1 (type int) as type list:
480
+ + // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
481
+ + // ./in.cue:56:5
472
482
+ // ./in.cue:56:9
473
483
+ }
474
484
+ b: (_|_){
475
- + // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
485
+ + // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
486
+ + // ./in.cue:56:5
476
487
+ // ./in.cue:56:9
477
488
+ }
478
489
+ c: (_|_){
479
- + // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
490
+ + // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
491
+ // ./in.cue:56:5
480
492
// ./in.cue:56:9
481
493
}
482
- }
483
- @@ -118,80 +116,79 @@
494
+ @@ -124,80 +120,79 @@
484
495
}
485
496
b: (struct){
486
497
}
@@ -611,7 +622,7 @@ diff old new
611
622
}
612
623
}
613
624
closeFail: (_|_){
614
- @@ -201 ,21 +198 ,22 @@
625
+ @@ -207 ,21 +202 ,22 @@
615
626
}
616
627
x: (_|_){
617
628
// [eval]
@@ -653,11 +664,14 @@ closeFail.x.b: field not allowed:
653
664
letCycleFail.t1.a.c: structural cycle
654
665
structCycle.a: structural cycle
655
666
structCycle.b.d: structural cycle
656
- disjunctionCycle.a: cannot use 1 (type int) as list in argument 1 to and:
667
+ disjunctionCycle.a: cannot use 1 (type int) as type list:
668
+ ./in.cue:56:5
657
669
./in.cue:56:9
658
- disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
670
+ disjunctionCycle.b: cannot use 1 (type int) as type list:
671
+ ./in.cue:56:5
659
672
./in.cue:56:9
660
- disjunctionCycle.c: cannot use 1 (type int) as list in argument 1 to and:
673
+ disjunctionCycle.c: cannot use 1 (type int) as type list:
674
+ ./in.cue:56:5
661
675
./in.cue:56:9
662
676
b: structural cycle:
663
677
./in.cue:62:6
@@ -729,15 +743,18 @@ Result:
729
743
disjunctionCycle: (_|_){
730
744
// [eval]
731
745
a: (_|_){
732
- // [eval] disjunctionCycle.a: cannot use 1 (type int) as list in argument 1 to and:
746
+ // [eval] disjunctionCycle.a: cannot use 1 (type int) as type list:
747
+ // ./in.cue:56:5
733
748
// ./in.cue:56:9
734
749
}
735
750
b: (_|_){
736
- // [eval] disjunctionCycle.b: cannot use 1 (type int) as list in argument 1 to and:
751
+ // [eval] disjunctionCycle.b: cannot use 1 (type int) as type list:
752
+ // ./in.cue:56:5
737
753
// ./in.cue:56:9
738
754
}
739
755
c: (_|_){
740
- // [eval] disjunctionCycle.c: cannot use 1 (type int) as list in argument 1 to and:
756
+ // [eval] disjunctionCycle.c: cannot use 1 (type int) as type list:
757
+ // ./in.cue:56:5
741
758
// ./in.cue:56:9
742
759
}
743
760
}
0 commit comments