Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
MCausc78 committed Mar 1, 2024
1 parent 5731fc6 commit 66f7a19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vlib/v/ast/types.v
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ pub mut:
parent_type Type
}

// used to check whether there a generic type which is duplicate, returns array with no duplicates
pub fn (st &SumType) get_deduplicated_variants() []Type {
mut variants := []Type{}
for v in st.variants {
Expand Down

0 comments on commit 66f7a19

Please sign in to comment.