Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

cmd/cue: -e does not know about standard builtins #999

@myitcv

Description

@myitcv

What version of CUE are you using (cue version)?

$ cue version
cue version +37bf801b linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

exec cue export --out text -e 'yaml.MarshalStream(X)' x.cue

-- x.cue --
X: [
	{
		a: 1
	},
	{
		b: 2
	},
]

gives:

reference "yaml" not found:
    --expression:1:1

This is a regression from v0.2.2

What did you expect to see?

Per v0.2.2:

a: 1
---
b: 2

What did you see instead?

As above; an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions