package main
import (
"cuefy.today/tests/main:libs"
"cuefy.today/tests/main"
)
field_001: libs.field // <-- import from the libs package
field_main: "field_main"
field_main_ref: main.field_main // <-- import from the main package
I mistakenly created a cycle inside the main package to the main package.
And run the following command:
cue eval main/main.cue
What did you expect to see?
After running the following commad:
cue eval main/main.cue
I would like to see an error message that a cycle detected.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes
What did you do?
I create a module with the following structure.
module.cue
main/libs.cue
main/main.cue
I mistakenly created a cycle inside the
main
package to themain
package.And run the following command:
What did you expect to see?
After running the following commad:
I would like to see an error message that a cycle detected.
What did you see instead?
cue eval
hangs