Comments (1)
In addition, the following relatively natural construct:
import "math"
foo: 3
bar: 9 & math.MultipleOf(foo)
fails with:
bar: invalid value 9 (does not satisfy math.MultipleOf(3)): error in call to math.MultipleOf: interface conversion: adt.Value is *adt.Vertex, not *adt.Num:
I guess it's the same error, but might be worth to include in a test case.
from cue.
Related Issues (20)
- cmd/cue: package patterns match too many packages
- cue/load: regression on `load.Instances()` with unrelated error message HOT 1
- yamlv3decoder: `cue import` generates invalid CUE from YAML files with comments directly following dict-keys
- Playground should support evaluating cue files with different releases and flags HOT 1
- mod/modfile: support missing major version suffix even in strict mode HOT 1
- pkg: slowly move the Go APIs for CUE builtin funcs under internal/pkg HOT 2
- cue/load: cannot load legacy published CUE modules
- mod/modfile: split syntax into its own data structure
- cue: ParsePath does not understand optional fields HOT 1
- cmd/cue: mod fix and AcceptLegacyModules should use fixed language version HOT 1
- cmd/cue: mod registry has non-zero exit code on SIGINT
- cmd/cue: mod publish adds major version suffix to error message HOT 3
- cuelang.org: add support for modules to the playground
- cmd/cue: evaluation of build attributes is order-dependent
- cmd/cue: "no source field" error on publish contains no explanation or solution
- encoding/json: Package comment implies bidirectional functionality
- cmd/cue: non-mod command does not suggest running 'cue mod fix' on missing language.version
- CUE modules that have a gen directory can't be used HOT 1
- cmd/cue: `help injection` should say how to enable injection
- Specify a definition's hidden fields from a different package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cue.