Skip to content

Commit 7157817

Browse files
authored
Update LightSumTypes.jl
1 parent f1c7cd2 commit 7157817

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/LightSumTypes.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@ end
200200

201201
function _get_variant_types(T_sum)
202202
field_T = fieldtype(T_sum, 1)
203-
204-
!(field_T isa Union) && return [field_T]
205-
206203
types = []
207204
curr = field_T
208205
while curr isa Union

0 commit comments

Comments
 (0)