blob: f48431f8d9b5082b9c7ff63ad8dad50866ea3290 [file] [log] [blame]
// Issue #716
//
// NOTE removing the empty import decl is more a job for
// cue/format or astutil.Sanitize.
-- a/a.cue --
package a
A: 5
-- b.cue --
package b
import (
"example.com/blah/a"
)
#Def: {
y: 5
}
x: #Def
x: y: a.A
-- cue.mod/module.cue --
module: "example.com/blah"
-- out/trim --
== b.cue
package b
import (
)
#Def: {
y: 5
}
x: #Def
x: {}