test: fix sumtype shadow & as test
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