test: fix sumtype shadow & as test
parent
198fdcf1c6
commit
812a9d646a
|
@ -5,7 +5,7 @@ type Animal = Cat | Dog
|
||||||
|
|
||||||
const (
|
const (
|
||||||
cat = Cat{name: 'cat'}
|
cat = Cat{name: 'cat'}
|
||||||
dog = Cat{name: 'dog'}
|
dog = Dog{name: 'dog'}
|
||||||
)
|
)
|
||||||
|
|
||||||
fn test_shadow() {
|
fn test_shadow() {
|
Loading…
Reference in New Issue