mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
test: fix sumtype shadow & as test
This commit is contained in:
parent
198fdcf1c6
commit
812a9d646a
@ -5,7 +5,7 @@ type Animal = Cat | Dog
|
||||
|
||||
const (
|
||||
cat = Cat{name: 'cat'}
|
||||
dog = Cat{name: 'dog'}
|
||||
dog = Dog{name: 'dog'}
|
||||
)
|
||||
|
||||
fn test_shadow() {
|
Loading…
Reference in New Issue
Block a user