1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: fix sumtype as cast with calling twice (#17196)

This commit is contained in:
yuyi
2023-02-02 19:57:37 +08:00
committed by GitHub
parent 6572d597f9
commit b5b1efbb7b
3 changed files with 54 additions and 15 deletions

View File

@@ -230,6 +230,7 @@ const (
'do_not_remove',
'vlib/v/tests/const_fixed_array_containing_references_to_itself_test.v', // error C2099: initializer is not a constant
'vlib/v/tests/const_and_global_with_same_name_test.v', // error C2099: initializer is not a constant
'vlib/v/tests/sumtype_as_cast_test.v', // error: cannot support compound statement expression ({expr; expr; expr;})
]
skip_on_windows = [
'do_not_remove',