1
0
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:
joe-conigliaro 2020-06-19 01:14:53 +10:00
parent 198fdcf1c6
commit 812a9d646a
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1

View File

@ -5,7 +5,7 @@ type Animal = Cat | Dog
const (
cat = Cat{name: 'cat'}
dog = Cat{name: 'dog'}
dog = Dog{name: 'dog'}
)
fn test_shadow() {