-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: fix EncodeType doesn't unify embedded Go struct with struct defi…
…nition This actually fixes a bug in GoTypeToExpr under internal/core/convert, it doesn't unify embedded Go struct with struct definition, and add two test cases to verify this fix working well. Fixes: #1772 Signed-off-by: Clare Yang (zhanyang) <[email protected]>
- Loading branch information
Clare Yang (zhanyang)
committed
Jun 28, 2022
1 parent
b30eb99
commit fbf40b8
Showing
2 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters