This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Replies: 2 comments
-
|
If you will forgive the dialogue of one... @rogpeppe kindly exchanged a few ideas on the topic which led me to the following iteration: This issue here, however, being that |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion has been migrated to cue-lang/cue#462. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Consider the following Go code.
Note that the types
*Commandand*Uploadimplement theStepinterface.Running
cue get gocurrently (as of 304b02e) produces the following:Notice the
StepGo interface type is converted to top (_).This is somewhat problematic because we have lost information about the connection between
Step,CommandandUploadtypes.Ideally
#Step,#Commandand#Uploadwould be generated as:It feels like something like this would be desirable.
As far as I can tell:
#Stepdefinition disjunction would be limited to that whole-program analysisRegarding point 3, perhaps a special directive declared on the interface type would work?
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions