Skip to content

Cue commands hangs when looping + conjunction #1661

Answered by myitcv
fenos asked this question in General
Discussion options

You must be logged in to vote

@fenos I'll leave @rogpeppe is digging into what is causing the "hang" here.

But in the meantime, here is one suggestion for rewriting your CUE code, which has the added benefit if working around the bug!

$ diff -wu before.txt after.txt
--- before.txt  2022-04-26 11:38:18.737383719 +0100
+++ after.txt   2022-04-26 11:37:57.300883136 +0100
@@ -15,9 +15,9 @@
     is_null: bool | *false
     default?: string
     nitro_type: #Types
-    ...
 }
-#VarChar: #SQLField & {
+#VarChar: {
+    #SQLField
     size: int | *255
     nitro_type: #String
 }
@@ -38,9 +38,9 @@
         }]
         type: string
     }
-    ...
 }
-#String: #Scalar & {
+#String: {
+    #Scalar
     go: {
         type: "stri…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fenos
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants